Files
tor/changes
Nick Mathewson 5aa45ed6af Fix crash when changing node restrictions with DNS lookup in progress
Fixes bug 4259, bugfix on 0.2.2.25-alpha.  Bugfix by "Tey'".

Original message by submitter:

  Changing nodes restrictions using a controller while Tor is doing
  DNS resolution could makes Tor crashes (on WinXP at least). The
  problem can be repeated by trying to reach a non-existent domain
  using Tor:

    curl --socks4a 127.0.0.1:9050 inexistantdomain.ext

  .. and changing the ExitNodes parameter through the control port
  before Tor returns a DNS resolution error (of course, the following
  command won't work directly if the control port is password
  protected):

    echo SETCONF ExitNodes=TinyTurtle | nc -v 127.0.0.1 9051

  Using a non-existent domain is needed to repeat the issue so that
  Tor takes a few seconds for resolving the domain (which allows us to
  change the configuration). Tor will crash while processing the
  configuration change.

  The bug is located in the addressmap_clear_excluded_trackexithosts
  method which iterates over the entries of the addresses map in order
  to check whether the changes made to the configuration will impact
  those entries. When a DNS resolving is in progress, the new_adress
  field of the associated entry will be set to NULL. The method
  doesn't expect this field to be NULL, hence the crash.
2011-10-19 23:14:05 -04:00
..
2011-05-21 16:08:21 -04:00
2011-06-02 15:11:21 -04:00
2011-05-12 18:49:28 -04:00
2011-05-15 22:02:24 -04:00
2011-05-31 20:43:55 -04:00
2011-06-13 13:42:00 -04:00
2011-06-14 13:45:12 -04:00
2011-08-10 23:12:09 +02:00
2011-09-09 10:41:06 -04:00
2011-09-07 11:59:16 -04:00
2011-09-20 09:56:26 -04:00
2011-07-01 12:54:24 -04:00
2011-05-20 08:25:43 -07:00
2011-07-20 13:17:48 -04:00
2011-08-24 13:52:44 -04:00
2011-09-10 16:15:52 -04:00