summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-27 23:57:34 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-04 14:05:15 +0000
commit4423aa59abda50c8b71815f922ea03e2009f9e50 (patch)
tree69df874c2c0d110cc30f8e7873f3d8d336f7b7e9 /source4/torture/nbt
parentc676c950dbb022004e7224b39355decfa74e6032 (diff)
downloadsamba-4423aa59abda50c8b71815f922ea03e2009f9e50.tar.gz
samba-4423aa59abda50c8b71815f922ea03e2009f9e50.tar.bz2
samba-4423aa59abda50c8b71815f922ea03e2009f9e50.zip
tsocket: make sure we delete the fd event before calling close()
We got random double free errors, when getting events from epoll_wait() and try to dereference the private talloc pointer attached to it. Before doing the close() in the tstream_disconnect_send() function we need to delete the fd event. commit 38f505530ba06323a56c7d3914630efffcd12629 only fixed it for tdgram sockets. metze
Diffstat (limited to 'source4/torture/nbt')
0 files changed, 0 insertions, 0 deletions