[tor-bugs] #15960 [Tor]: Segfault in HSPOST control command
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 8 09:09:23 UTC 2015
#15960: Segfault in HSPOST control command
---------------------+------------------------------------
Reporter: donncha | Owner:
Type: defect | Status: new
Priority: major | Milestone: Tor: 0.2.7.x-final
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
---------------------+------------------------------------
A segfault occurs in the HSPOST command if `node->rs->is_hs_dir` is
checked but the router_status entry for the node does not exist. I have a
fix for this issue on my Github -
https://github.com/DonnchaC/tor/commit/27f006bcad4a1a27339130ffb09637f4baaf7dbe
if (!node->rs->is_hs_dir) {
connection_printf_to_buf(conn, "552 Server \"%s\" is not a
HSDir"
"\r\n", server);
goto done;
}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15960>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list