summaryrefslogtreecommitdiff
path: root/source4/lib/db_wrap.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-11-10 04:52:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:42 -0500
commit017bf499d44d23c50406fb9647f9a2161be395f0 (patch)
tree8e1bb65e98d2df52d4a32f03460ec79508770f96 /source4/lib/db_wrap.c
parentd1f4ba08df3844a0d6af5e39ac66e724e68c32b3 (diff)
downloadsamba-017bf499d44d23c50406fb9647f9a2161be395f0.tar.gz
samba-017bf499d44d23c50406fb9647f9a2161be395f0.tar.bz2
samba-017bf499d44d23c50406fb9647f9a2161be395f0.zip
r3652: Fix malloc-history dependent failures in smbtorture.
Because -r 3591 removed the over-allocation, realloc() had a chance of returning a different pointer. This broke the length calculations in the trans2 send code. I think the length calculations coudld be better expressed (less cute PTR_DIFF tricks) but I'm not going to touch this any more than I need to. Andrew Bartlett (This used to be commit 4bfc916a2c3b9745f47ce4eaa892cdcc431e19db)
Diffstat (limited to 'source4/lib/db_wrap.c')
0 files changed, 0 insertions, 0 deletions