diff options
author | Jeremy Allison <jra@samba.org> | 2007-08-29 01:23:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:18 -0500 |
commit | 7b24eb65a0c4189796fc74319a400c6bfb85fdb7 (patch) | |
tree | be650dfaec20ec99bbf6a9335bd218c838f3f41a /source3/lib | |
parent | 6227abc043c342e70a923da15a12668ca0c87020 (diff) | |
download | samba-7b24eb65a0c4189796fc74319a400c6bfb85fdb7.tar.gz samba-7b24eb65a0c4189796fc74319a400c6bfb85fdb7.tar.bz2 samba-7b24eb65a0c4189796fc74319a400c6bfb85fdb7.zip |
r24759: Comment out the _nonnull calls for 3.2.x, as agreed with tridge.
Leaving the commented out code for now, in case I need to re-test
some stuff.
Jeremy
(This used to be commit 343be0464342aac14a9592fd73a71b7589ba34d5)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 25b60dc9ef..ed2bff6225 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3314,6 +3314,11 @@ int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, i return IVAL(ptr,off); } +#if 0 + +Disable these now we've checked all code paths and ensured +NULL returns on zero request. JRA. + /**************************************************************** talloc wrapper functions that guarentee a null pointer return if size == 0. @@ -3412,3 +3417,4 @@ void *talloc_zeronull(const void *context, size_t size, const char *name) } return talloc_named_const(context, size, name); } +#endif |