diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-10 22:16:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:29 -0500 |
commit | 9f9e9b6477c4037372f871495abe7b81f15fb58c (patch) | |
tree | 21dce7965d26e0f785efa3dc598fab405556bac6 /source4/libcli | |
parent | 6fb61740076f49a6e0ac3eaff5c8002e316cfe90 (diff) | |
download | samba-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/libcli')
0 files changed, 0 insertions, 0 deletions