1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/tevent
Stefan Metzmacher 7fe5584e2a tevent: fix crash bug in tevent_queue_immediate_trigger()
Assume we we have a queue with 2 entries (A and B with triggerA() and triggerB()).
If triggerA() removes itself tevent_queue_entry_destructor() will be called
for A, this schedules the immediate event to call triggerB().
If triggerA() then also removes B by an explicit of implizit talloc_free(),
q->list is NULL, but the immediate event is still scheduled and can't be unscheduled.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2014-01-17 12:38:08 +01:00
..
ABI tevent: version 0.9.20 2013-12-12 00:39:35 +01:00
doc tevent: use talloc_get_type_abort() in the documentation examples 2013-12-11 22:46:09 +01:00
bindings.py pytevent: Add more tests. 2010-09-25 12:20:57 -07:00
configure ldb/tevent: Fix detection of waf paths. 2010-09-28 09:12:41 +02:00
doxy.config tevent: Link the tutorial on the mainpage. 2013-06-12 19:54:30 +02:00
echo_server.c tevent: Add echo server sample code 2013-08-05 04:07:57 +02:00
Makefile waf: ensure "make dist" works from a clean git tree for all libraries 2011-01-08 02:35:22 +01:00
pytevent.c tevent: Fix python documentation strings 2012-01-31 16:59:29 +01:00
release-script.sh Add release script for tevent 2009-09-04 18:20:29 -04:00
testsuite.c Fix tevent testsuite issue on Solaris. 2013-03-22 18:16:45 +01:00
tevent_debug.c lib/tevent: Add trace point callback 2012-06-08 19:00:05 +02:00
tevent_epoll.c Do not return a value from a void function. 2013-12-26 08:49:00 -08:00
tevent_fd.c Return NULL if tevent_add_fd() is passed a negative fd 2011-02-14 17:47:03 +01:00
tevent_immediate.c tevent: add support for immediate events 2009-03-17 19:59:00 +01:00
tevent_internal.h tevent: tevent_epoll_set_panic_fallback() can be a void function 2013-12-11 22:46:09 +01:00
tevent_liboop.c tevent: Fix a comment 2013-01-18 00:05:37 +01:00
tevent_poll.c tevent: Fix Coverity ID 989236 Operands don't affect result 2013-06-14 09:31:39 -07:00
tevent_queue.c tevent: fix crash bug in tevent_queue_immediate_trigger() 2014-01-17 12:38:08 +01:00
tevent_req.c tevent: make use of talloc_get_type_abort() in tevent_req.c 2013-12-11 22:46:09 +01:00
tevent_select.c tevent: make use of talloc_get_type_abort() in tevent_select.c 2013-12-11 22:46:09 +01:00
tevent_signal.c tevent: give the user the chance to ask for TEVENT_NUM_SIGNALS and TEVENT_SA_INFO_QUEUE_COUNT 2013-12-11 22:46:09 +01:00
tevent_standard.c tevent: tevent_epoll_set_panic_fallback() can be a void function 2013-12-11 22:46:09 +01:00
tevent_timed.c tevent: optimize adding new zero timer events 2013-03-01 12:01:54 -08:00
tevent_util.c tevent: Set FD_CLOEXEC on epoll handle 2011-08-11 14:38:53 -04:00
tevent_util.h tevent: Set FD_CLOEXEC on epoll handle 2011-08-11 14:38:53 -04:00
tevent_wakeup.c tevent: Remove a pointless goto 2013-08-16 16:50:23 +02:00
tevent.c tevent: optimize adding new zero timer events 2013-03-01 12:01:54 -08:00
tevent.h tevent: add tevent_queue_wait_send/recv() 2013-12-11 22:46:09 +01:00
tevent.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
tevent.py Add version attribute for pytevent. 2011-12-07 15:07:48 +01:00
wscript tevent: version 0.9.20 2013-12-12 00:39:35 +01:00