diff options
author | Jeremy Allison <jra@samba.org> | 2006-12-09 02:58:18 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2006-12-09 02:58:18 +0000 |
commit | fd8e93f6abd6a964481bcfdd0f2387c5c8a7a216 (patch) | |
tree | 263faaab16e57666fe3591efbb6ab6858205c58b /source/lib/messages.c | |
parent | 423105aa77792c4fb9554fee4a462dbb57dafea6 (diff) | |
download | samba-fd8e93f6abd6a964481bcfdd0f2387c5c8a7a216.tar.gz samba-fd8e93f6abd6a964481bcfdd0f2387c5c8a7a216.tar.xz samba-fd8e93f6abd6a964481bcfdd0f2387c5c8a7a216.zip |
r20090: Fix a class of bugs found by James Peach. Ensure
we never mix malloc and talloc'ed contexts in the
add_XX_to_array() and add_XX_to_array_unique()
calls. Ensure that these calls always return
False on out of memory, True otherwise and always
check them. Ensure that the relevent parts of
the conn struct and the nt_user_tokens are
TALLOC_DESTROYED not SAFE_FREE'd.
James - this should fix your crash bug in both
branches.
Jeremy.
Diffstat (limited to 'source/lib/messages.c')
0 files changed, 0 insertions, 0 deletions