summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge signed/unsigned fix from HEAD.Andrew Bartlett2003-03-181-1/+1
| |
* | One more on set_local_machine_name() taking a new 'perm' argument.Andrew Bartlett2003-03-181-1/+1
| |
* | Fix segfault on FD_SET() when we have an fd of -1Andrew Bartlett2003-03-181-0/+3
| | | | | | | | Andrew Bartlett
* | Merge whitespace to match HEAD.Andrew Bartlett2003-03-181-17/+17
| |
* | Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett2003-03-187-10/+37
| | | | | | | | | | | | | | | | | | 'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett
* | Add const.Andrew Bartlett2003-03-181-1/+1
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-03-1815-0/+2058
|\|
| * Split "clobber" function and variables into its own file before itMartin Pool2003-03-183-40/+61
| | | | | | | | grows too much larger.
| * Ignore t_stringoverflow binary.Martin Pool2003-03-181-1/+2
| |
| * Ignore .po and .po32 files.Martin Pool2003-03-181-0/+3
| |
| * Comment about deprecated macro overmalloc_safe_strcpy().Martin Pool2003-03-181-0/+6
| |
| * Remove static libbigballofmud, which just does not seem to link.Martin Pool2003-03-181-3/+7
| | | | | | | | Add bin/t_stringoverflow test case. Not built by default.
| * The new string macros catch a bug at compile that previously onlyMartin Pool2003-03-181-0/+7
| | | | | | | | | | | | trapped at runtime, which is great. So we have to try a little harder to provoke an overflow -- which is still caught nicely in developer mode.
| * Update comment: Valgrind 1.9.4 seems to always respect clientMartin Pool2003-03-181-1/+1
| | | | | | | | requests, without needing --client-perms=yes.
| * Speling fixes and a little extra documentation.Martin Pool2003-03-181-6/+6
| |
| * global_globber_region_function/line ought to be recorded beforeMartin Pool2003-03-181-3/+15
| | | | | | | | | | | | | | | | | | | | clobbering the region, just in case clobbering causes us to crash immediately. (That might happen if we just shot ourselves in the stack and strcpy was not inlined.) Also, in DEVELOPER mode and when Valgrind is available, mark the clobbered region as uninitialized. This is an even stronger protection than clobbering with 0xf1.
| * Decode waitstatus values when a command fails.Martin Pool2003-03-181-2/+5
| |
| * Added #ifdef'ed out implementation of auth_smbd python fn. UncommentTim Potter2003-03-181-1/+71
| | | | | | | | when auth_smbd functionality merged to HEAD.
| * Start of a unit test for info3 caching. Much unfrastructure requiredTim Potter2003-03-181-0/+54
| | | | | | | | before this can be fully implemented. )-:
| * Add copyright.Andrew Bartlett2003-03-171-1/+1
| |
| * Fix memory leak.Volker Lendecke2003-03-171-0/+2
| | | | | | | | Volker
| * Fix invalid SAFE_FREE() of talloc()ed memory.Andrew Bartlett2003-03-171-3/+0
| | | | | | | | Andrew Bartlett
| * Brain fart - make sure we truncate the right string...Andrew Bartlett2003-03-171-4/+4
| | | | | | | | Andrew Bartlett
| * Fix const warnings.Andrew Bartlett2003-03-171-5/+5
| | | | | | | | Andrew Bartlett
| * Add const.Andrew Bartlett2003-03-172-4/+4
| |
| * More statcache fixes - and add a bit more doco.Andrew Bartlett2003-03-171-9/+25
| | | | | | | | Andrew Bartlett
| * Applied waider's patch to return DOS error codes for pipes thatTim Potter2003-03-1710-192/+217
| | | | | | | | support it.
| * Ignore .pyc files.Tim Potter2003-03-171-0/+1
| |
| * Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind!Andrew Bartlett2003-03-171-0/+2
| | | | | | | | Andrew Bartlett
| * Some cosmetic changes to make the popt --usage output look nicer.Tim Potter2003-03-171-5/+5
| |
| * Fix memory leaks and add parinoioa code to our stat() cache.Andrew Bartlett2003-03-171-2/+23
| | | | | | | | Andrew Bartlett
| * Missed one when I move 'share_sanity_checks' to use an fstring for 'dev'.Andrew Bartlett2003-03-161-1/+1
| | | | | | | | Andrew Bartlett
| * Make sure we mark the assumption of a fstring parameter for 'devicetype'Andrew Bartlett2003-03-163-10/+15
| | | | | | | | | | | | in the function prototype, and change callers to respect this. Andrew Bartlett
| * Add const.Andrew Bartlett2003-03-161-7/+7
| |
| * - Make ReadDirName return a const char*.Andrew Bartlett2003-03-167-29/+36
| | | | | | | | | | | | | | | | - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett
| * Try to avoid dereferencing a null pointer.Andrew Bartlett2003-03-161-9/+13
| | | | | | | | Andrew Bartlett
| * New statcache internals - this time it's actually possible to follow what'sAndrew Bartlett2003-03-161-54/+82
| | | | | | | | | | | | | | | | going on. In particular, add doxygen documentation. Andrew Bartlett
| * Fix nmbd under -DDEVELOPER (pstrcpy on not-pstring).Andrew Bartlett2003-03-162-5/+12
| | | | | | | | | | | | Make a new macro to help in this situation, and add memcpy() parinoia Andrew Bartlett
| * Changes to help the kerberos change password code work on systems thatAndrew Bartlett2003-03-162-37/+38
| | | | | | | | | | | | | | | | | | have some of the labels 'duplicated' (ie, the defines double-up). Also, to an ads_connect() to try and find our KDC. (So we don't segfualt *every* time) Andrew Bartlett
| * More work on my macro mess - we need function prototypes of different types,Andrew Bartlett2003-03-161-9/+12
| | | | | | | | | | | | and we were missing the 'char' type. Andrew Bartlett
| * A hack to get us building on a slightly older heimdal kerberos. It appearsAndrew Bartlett2003-03-151-0/+7
| | | | | | | | | | | | | | that we don't need this flag - heimdal's internal password change routines don't set it. Andrew Bartlett
| * Fix non-gmake syntax error.Andrew Bartlett2003-03-151-1/+1
| |
| * Checkin cifs vfs for Linux mount helperSteve French2003-03-151-43/+211
| |
| * Fix the 'non-optomizing compiler' case...Andrew Bartlett2003-03-151-2/+2
| | | | | | | | Andrew Bartlett
| * Fix the non-DEVELOPER case of my macro madness...Andrew Bartlett2003-03-151-1/+1
| | | | | | | | Andrew Bartlett
| * Minor fixes.Andrew Bartlett2003-03-154-8/+8
| | | | | | | | | | | | | | | | - signed/unsigned - quieten warning about assignment as truth value - whitespace Andrew Bartlett
| * Remove an unused function and fix the build.Andrew Bartlett2003-03-151-36/+0
| | | | | | | | Andrew Bartlett
| * Fix signed/unsigned issues - mostly 'i' counters.Andrew Bartlett2003-03-157-47/+47
| | | | | | | | | | | | Fix an inconpatible poitner type that caused the IA64 not to build Andrew Bartlett
| * signed/unsigned fixAndrew Bartlett2003-03-151-2/+2
| |
| * String handling parinoia fixes.Andrew Bartlett2003-03-1512-166/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables the compile-time checking of strings assable by means of sizeof(). (Original code had the configure check reversed). This is extended to all safe_strcpy() users, push_string and pull_string, as well as the cli and srv derivitives. There is an attempt to cap strings at the end of the cli buffer, and clobber_region() of the speified length (when not -1 :-). Becouse of the way they are declared, the 'overmalloc a string' users of safe_strcpy() have been changed to use overmalloc_safe_strcpy() (which skips some of the checks). This whole ball of mud worked fine, until I pulled out my 'fix' for our statcache. When jeremy fixes that, we should be able to get back to testing this stuff. This patch also includes a 'marker' of the last caller to clobber_region (ie, the function that called pstrcpy() that called clobber_region) to assist in debugging problems that may have smashed the stack. This is printed at smb_panic() time. (Original idea and patch by metze). It also removes some unsused functions, and #if 0's some others that are unused but probably should be used in the near future. For now, this patch gives us some confidence on one class of trivial parsing error in our code. Andrew Bartlett