summaryrefslogtreecommitdiff
path: root/source3/lib/clobber.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-23s3-lib Remove the clobber_region() code.Andrew Bartlett1-63/+0
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett
2007-12-15Cope with valgrind > 3.2.x.Jeremy Allison1-0/+4
Jeremy. (This used to be commit e799eb8da6f5e7a2173ba6b8fb040430fd1c6f34)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r12855: Remove erroneous commenting out of valgrind fix.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b76c7b613282dc89c54faf3e7cef98f7651c5a9d)
2007-10-10r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison1-1/+1
box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy. (This used to be commit c65b752604f8f58abc4e7ae8514dc2c7f086271c)
2007-10-10r11156: Remove valgrind disabling ifdef that got added by mistake.Jeremy Allison1-2/+0
Jeremy. (This used to be commit fc9eca51e02022ccffbad2a4f2450f85e558e151)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison1-0/+2
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2003-03-18Split "clobber" function and variables into its own file before itMartin Pool1-0/+60
grows too much larger. (This used to be commit 4bbddbfc6a97ebb11e299aa7bd07ebebeab42c65)