diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-06 15:07:05 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-06 15:11:31 +0200 |
commit | b4c3f72d445a5659971b0080ab1eba88695d2a0d (patch) | |
tree | 923d5c7d1a535b89f2a61f80ed92ea9fbe2fb676 /source4/torture/locktest.c | |
parent | 60a3cc850a27a14110541439c05387efb0312210 (diff) | |
download | samba-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 'source4/torture/locktest.c')
0 files changed, 0 insertions, 0 deletions