[tor-bugs] #6827 [Tor Relay]: UB in rend_parse_v2_service_descriptor()
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu Sep 13 03:41:27 UTC 2012
#6827: UB in rend_parse_v2_service_descriptor()
-----------------------+----------------------------------------------------
Reporter: asn | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by nickm):
Seems harmless at first glance; if version is greater than the width of
protocols, then we'll just ignore the value. But AFAIK, we should also
never actually use the value if it describes a protocol we can't speak, so
our failure to record it shouldn't matter.
So the desired behavior (ignore protocols we can't speak) would seem
identical to the current behavior.
This deserves a comment, though. And somebody should doublecheck my
logic.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6827#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list