[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #15960 [Tor]: Segfault in HSPOST control command



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs