summaryrefslogtreecommitdiffstats
path: root/source/lib/messages.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-12-09 02:58:18 +0000
committerJeremy Allison <jra@samba.org>2006-12-09 02:58:18 +0000
commitfd8e93f6abd6a964481bcfdd0f2387c5c8a7a216 (patch)
tree263faaab16e57666fe3591efbb6ab6858205c58b /source/lib/messages.c
parent423105aa77792c4fb9554fee4a462dbb57dafea6 (diff)
downloadsamba-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