tevent_poll: Avoid a crash in poll_event_set_fd_flags
commit1cfc76f72ae454b13dbaeca22df06cb6f78f078f
authorVolker Lendecke <vl@samba.org>
Thu, 31 Jan 2013 15:34:41 +0000 (31 16:34 +0100)
committerJeremy Allison <jra@samba.org>
Sun, 3 Feb 2013 03:53:30 +0000 (2 19:53 -0800)
tree8cd62a3d976c7bb2285e3778746644be86f9dd8a
parent611fcca641a22a2a23b26752105af99cf338d6a1
tevent_poll: Avoid a crash in poll_event_set_fd_flags

The event context might have been freed before the fde

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tevent/tevent_poll.c