diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-18 16:12:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-18 16:12:39 -0400 |
commit | 34030a3d23ec6506bc6389cb95cc1fc4b3efdc57 (patch) | |
tree | 980e8b5fb9e9a3c722b1ce868d63600e46583120 /ChangeLog | |
parent | 2fa54102188b70b9899035250a9f7c26b843fc91 (diff) | |
download | tor-34030a3d23ec6506bc6389cb95cc1fc4b3efdc57.tar.gz tor-34030a3d23ec6506bc6389cb95cc1fc4b3efdc57.zip |
Possible fix for crash bug related to event timeouts. [Bug 957]
If we ever add an event, then set it, then add it again, there will be
now two pointers to the event in the event base. If we delete one and
free it, the first pointer will still be there, and possibly cause a
crash later.
This patch adds detection for this case to the code paths in
eventdns.c, and works around it. If the warning message ever
displays, then a cleverer fix is in order.
{I am not too confident that this *is* the fix, since bug 957 is very
tricky. If it is, it is a bugfix on 0.2.0.}
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,8 @@ Changes in version 0.2.1.15??? - ????-??-?? descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha. - Fix a memory leak when v3 directory authorities load their keys and cert from disk. Bugfix on 0.2.0.1-alpha. + - Add a test and fix for a possible cause of bug 957. If it's + the real cause, it should display some warning messages. Changes in version 0.2.1.14-rc - 2009-04-12 |