summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_ldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-06 15:07:05 +0200
committerVolker Lendecke <vl@samba.org>2010-07-06 15:11:31 +0200
commitb4c3f72d445a5659971b0080ab1eba88695d2a0d (patch)
tree923d5c7d1a535b89f2a61f80ed92ea9fbe2fb676 /source3/passdb/pdb_ldap.c
parent60a3cc850a27a14110541439c05387efb0312210 (diff)
downloadsamba-b4c3f72d445a5659971b0080ab1eba88695d2a0d.tar.gz
samba-b4c3f72d445a5659971b0080ab1eba88695d2a0d.tar.bz2
samba-b4c3f72d445a5659971b0080ab1eba88695d2a0d.zip
s3: Fix a segfault in the RPC server
After converting the rpc infratructure to talloc, read_from_internal_pipe freed the outdata too early. If the last fragment was read in two pieces (as rpcclient does it), all the outdata was freed during the read of the first piece of the read of the last fragment. Later read&x calls, trying to read the rest of the last fragment stepped into p->out_data.frag with non-zero offset when this was already freed.
Diffstat (limited to 'source3/passdb/pdb_ldap.c')
0 files changed, 0 insertions, 0 deletions