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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 15 14:33:42 UTC 2017


#21471: handle_get_hs_descriptor_v3() does strlen(NULL) when descriptor isn't found
------------------------------------+------------------------------------
 Reporter:  teor                    |          Owner:  dgoulet
     Type:  defect                  |         Status:  accepted
 Priority:  Very High               |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor            |        Version:
 Severity:  Normal                  |     Resolution:
 Keywords:  tor-hs, prop224, crash  |  Actual Points:
Parent ID:                          |         Points:
 Reviewer:                          |        Sponsor:  SponsorR-must
------------------------------------+------------------------------------
Changes (by dgoulet):

 * owner:   => dgoulet
 * priority:  Medium => Very High
 * status:  new => accepted
 * sponsor:   => SponsorR-must


Comment:

 We are missing unit tests here for the 404 case... Quite bad so I'll
 submit this as well with the fix.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21471#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list