summaryrefslogtreecommitdiff
path: root/changes/bug21471
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-02-15 10:27:32 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-02-15 10:27:41 -0500
commit3336f26e60b0f24c8e028ed8fb9aea04d19c5c8a (patch)
tree2c9321a8a98f391d1d130b9852f95b8debadc87a /changes/bug21471
parentd633c4757c1392fbbdeb3bdcc39e9b8e834f8fc9 (diff)
downloadtor-3336f26e60b0f24c8e028ed8fb9aea04d19c5c8a.tar.gz
tor-3336f26e60b0f24c8e028ed8fb9aea04d19c5c8a.zip
hs: Avoid a strlen(NULL) if descriptor is not found in cache
Instead of returning 404 error code, this led to a NULL pointer being used and thus a crash of tor. Fixes #21471 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/bug21471')
-rw-r--r--changes/bug214715
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug21471 b/changes/bug21471
new file mode 100644
index 0000000000..684035b19c
--- /dev/null
+++ b/changes/bug21471
@@ -0,0 +1,5 @@
+ o Major bugfixes (hidden service directory v3):
+ - When a descriptor lookup was done and it was not found in the directory
+ cache, it would crash on a NULL pointer instead of returning the 404
+ code back to the client like it was suppose to. Fixes bug 21471.;
+ bugfixes on tor-0.3.0.1-alpha.