diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-21 14:41:24 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-03-01 11:59:28 -0800 |
commit | 8e3ef659f876573bd7abb7d0e707369157232125 (patch) | |
tree | d8d3365bc4d4b38f44bef402b8ac15b2c3ed71d9 /pidl/tests/samba3-srv.pl | |
parent | d5b341d873bc326843d80dd15d3cd3ef465234ae (diff) | |
download | samba-8e3ef659f876573bd7abb7d0e707369157232125.tar.gz samba-8e3ef659f876573bd7abb7d0e707369157232125.tar.bz2 samba-8e3ef659f876573bd7abb7d0e707369157232125.zip |
tevent: make sure we cleanup the array passed to poll() after deleting an event
If we don't cleanup the array passed to poll after an
event was deleted, we may pass a bad file descriptor to poll().
This was found by the following test failure in Samba's
autobuild, while removing the epoll support from
the "standard" backend.
[48/1555 in 4m37s] samba3.smbtorture_s3.plain(s3dc).LOCK4
UNEXPECTED(failure): samba3.smbtorture_s3.plain(s3dc).LOCK4.smbtorture(s3dc)
REASON: _StringException: _StringException: using seed 1361530718
host=127.0.0.2 share=tmp user=metze myname=sn-devel-104
Running LOCK4
starting locktest4
Failed to create file: NT_STATUS_INVALID_HANDLE
finished locktest4
TEST LOCK4 FAILED!
LOCK4 took 190.492 secs
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'pidl/tests/samba3-srv.pl')
0 files changed, 0 insertions, 0 deletions