aboutsummaryrefslogtreecommitdiff
path: root/changes/ticket28879
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-17 09:14:16 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-17 09:15:37 -0500
commit16199a54a2b3f5ce94c6ca4248cbf44448ba95ae (patch)
treee1ed8b831cb65a0a32a6a503a72d58ad9318b787 /changes/ticket28879
parent94a79981580d6260597f799bc1a163c8e6f07acd (diff)
downloadtor-16199a54a2b3f5ce94c6ca4248cbf44448ba95ae.tar.gz
tor-16199a54a2b3f5ce94c6ca4248cbf44448ba95ae.zip
Check hostname before using it in send_resolved_hostname_cell()
Also, turn an absent hostname into a BUG(), not a crash. Found by scan-build. Closes ticket 28879; bugfix on 0.1.2.7-alpha
Diffstat (limited to 'changes/ticket28879')
-rw-r--r--changes/ticket288795
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/ticket28879 b/changes/ticket28879
new file mode 100644
index 0000000000..126420f6ca
--- /dev/null
+++ b/changes/ticket28879
@@ -0,0 +1,5 @@
+ o Minor bugfixes (correctness):
+ - Fix an unreached code-path where we checked the value of "hostname"
+ inside send_resolved_hostnam_cell(). Previously, we used it before
+ checking it; now we check it first. Fixes bug 28879; bugfix on
+ 0.1.2.7-alpha.