Avoid hard (impossible?)-to-trigger double-free in dns_resolve()

Fixes 6480; fix on 0.2.0.1-alpha; based on pseudonymous patch.
This commit is contained in:
Nick Mathewson
2012-07-31 12:58:19 -04:00
parent ae75fb13e1
commit 62637fa224
2 changed files with 23 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
o Major bugfixes:
- Avoid read-from-freed-RAM bug and related double-free bug that
could occur when a DNS request fails while launching it. Fixes
bug 6480; bugfix on 0.2.0.1-alpha.