diff options
| author | Stefan Metzmacher <metze@samba.org> | 2014-01-11 08:58:05 +0100 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-01-17 12:38:08 +0100 |
| commit | 7fe5584e2a59584431cb2ddf8a4da22bfb924454 (patch) | |
| tree | 421702c21a51c27b7817405e9a5da9382e6d1b0c /python | |
| parent | b7bfe46636d07c71f83daff884ec339c9b4aee72 (diff) | |
| download | samba-7fe5584e2a59584431cb2ddf8a4da22bfb924454.tar.gz samba-7fe5584e2a59584431cb2ddf8a4da22bfb924454.tar.xz samba-7fe5584e2a59584431cb2ddf8a4da22bfb924454.zip | |
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>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
