summaryrefslogtreecommitdiff
path: root/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-29 23:11:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:39 -0500
commitbd0dcebe36ea926e2ad9a32a6eb103a88325c930 (patch)
tree1a0f6ee858fc1a366cb1d93f2c7de005a1c35c16 /source4/ntptr/simple_ldb/ntptr_simple_ldb.c
parentd63dd113ae2c7f4f6d64def00a488548e805bc7e (diff)
downloadsamba-bd0dcebe36ea926e2ad9a32a6eb103a88325c930.tar.gz
samba-bd0dcebe36ea926e2ad9a32a6eb103a88325c930.tar.bz2
samba-bd0dcebe36ea926e2ad9a32a6eb103a88325c930.zip
r16705: fix a bug found by valgrind...
as we setup the 1 padding byte for non present dynamic part, we need to overwrite it when we're getting a real dynamic part, so we need to remove the buf->size +=1 when we do the first push to the dynamic part (when buf->dynamic is still but->body + buf->body_fixed) metze (This used to be commit f309209629ad1b63a76fc06163a3eeb07dce4c86)
Diffstat (limited to 'source4/ntptr/simple_ldb/ntptr_simple_ldb.c')
0 files changed, 0 insertions, 0 deletions