Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix 2 off-by-one bugs in the use of malloc()ed strings and safe_strcpy(). | Andrew Bartlett | 2003-02-24 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | safe_strcpy() isn't particularly safe (this has been noted before) as it does not take the size of the buffer, but instead the size of the buffer *minus 1* The locking.c fix was causing segfaults on machines running with --enable-developer, and was tracked down thanks to the fact that vance's build farm machine runs with such an option, and smbtorture's DIR1 test hits this bug very well. (The --enable-developer code writes to the last byte of the string, to check for incorrect use of safe_strcpy()). Andrew Bartlett | ||||
* | More signed/unsigned fixes (yes, I run with funny compiler options) and | Andrew Bartlett | 2003-02-22 | 1 | -5/+5 |
| | | | | | | make x_fwrite() match fwrite() in returning a size_t. Andrew Bartlett | ||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -2/+1 |
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. | ||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 1 | -2/+0 |
| | |||||
* | fixed the really awful performance problem with the stat cache when it | Andrew Tridgell | 2001-09-25 | 1 | -8/+10 |
| | | | | | ran out of primes and used a power of two hash modulus. It ended up sticking all the entries in just a few buckets. Yuck! | ||||
* | Fix (I hope) compile on HP-UX. Found by the build farm. | Andrew Bartlett | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 1 | -14/+8 |
| | |||||
* | string_hash() should be static. hash_clear() should be void. | Jeremy Allison | 2001-05-12 | 1 | -6/+4 |
| | | | | Jeremy. | ||||
* | Made re-init of stat cache explicit rather than being hidden. | Jeremy Allison | 2000-10-04 | 1 | -4/+0 |
| | | | | Jeremy. | ||||
* | Fix from Elrond for hash table corruption. Should fix stat cache bug (I | Jeremy Allison | 2000-06-09 | 1 | -2/+10 |
| | | | | | sincerely hope :-). Thanks elrond ! Jeremy. | ||||
* | Added hash-based stat cache code from Ying Chen. | Jeremy Allison | 2000-01-26 | 1 | -0/+320 |
Jeremy. |