summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-08-29 01:23:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:18 -0500
commit7b24eb65a0c4189796fc74319a400c6bfb85fdb7 (patch)
treebe650dfaec20ec99bbf6a9335bd218c838f3f41a /source3/lib
parent6227abc043c342e70a923da15a12668ca0c87020 (diff)
downloadsamba-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.c6
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