aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-20 13:16:06 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-20 13:17:48 -0400
commit718252b253049f84fefa14e212cf560838e6607c (patch)
tree03443d167ced3ba3097554fd9b4785acd15aa9ce /changes
parent3e3aac5fd552b7b1949b0d2e12368cea26449b83 (diff)
downloadtor-718252b253049f84fefa14e212cf560838e6607c.tar
tor-718252b253049f84fefa14e212cf560838e6607c.tar.gz
Check return value in fmt_addr
Previously, if tor_addr_to_str() returned NULL, we would reuse the last value returned by fmt_addr(). (This could happen if we were erroneously asked to format an AF_UNSPEC address.) Now instead we return "???".
Diffstat (limited to 'changes')
-rw-r--r--changes/fmt_addr4
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/fmt_addr b/changes/fmt_addr
new file mode 100644
index 000000000..b88c9e1bf
--- /dev/null
+++ b/changes/fmt_addr
@@ -0,0 +1,4 @@
+ o Minor bugfixes:
+ - When unable to format an address as a string, report its value
+ as "???" rather than reusing the last formatted address. Bugfix
+ on 0.2.1.5-alpha.