summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_ldb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-10 22:16:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:29 -0500
commit9f9e9b6477c4037372f871495abe7b81f15fb58c (patch)
tree21dce7965d26e0f785efa3dc598fab405556bac6 /source4/lib/registry/reg_backend_ldb.c
parent6fb61740076f49a6e0ac3eaff5c8002e316cfe90 (diff)
downloadsamba-9f9e9b6477c4037372f871495abe7b81f15fb58c.tar.gz
samba-9f9e9b6477c4037372f871495abe7b81f15fb58c.tar.bz2
samba-9f9e9b6477c4037372f871495abe7b81f15fb58c.zip
r4136: when we have a size or switch variable that is a pointer we need to check that the server
hasn't given us a null pointer, otherwise we can segv when we dereference it. For example: [size_is(*size)] *x; uint32 *size; if a broken server gave us x != NULL and size == NULL then we would crash. I've added a check_null_pointer() call in pidl to catch this. (This used to be commit 8cbd3f47a95367e861c6b99c44416a9ccef3c9ca)
Diffstat (limited to 'source4/lib/registry/reg_backend_ldb.c')
0 files changed, 0 insertions, 0 deletions