Commit 6e41cdc16b6e01840c0d54b5d7b09af3f1ed3cf4

Nick Mathewson 2012-01-23T17:59:16

Fix a list corruption bug when using event_reinit() with signals present While re-adding all the events, event_reinit() could add a signal event, which could then cause evsig_add() to add the base->sig.ev_signal event. Later on its merry path through base->eventqueue, event_reinit() would find that same event and give it to event_io_add a second time. This would make the ev_io_next list for that fd become circular. Ouch!