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

[tor-bugs] #21471 [Core Tor/Tor]: handle_get_hs_descriptor_v3() does strlen(NULL) when descriptor isn't found



#21471: handle_get_hs_descriptor_v3() does strlen(NULL) when descriptor isn't found
------------------------------+------------------------------------
     Reporter:  teor          |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.0.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-hs, prop224, crash
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------------
 hs_cache_lookup_as_dir() returns 0 when a descriptor isn't found, but a
 404 is only sent when the return value is < 0.

 Did anyone run this code?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21471>
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