[tor-bugs] #7192 [Tor]: parsing exit policy summary drops last character
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Oct 23 00:45:35 UTC 2012
#7192: parsing exit policy summary drops last character
------------------------+---------------------------------------------------
Reporter: arma | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: Tor: 0.2.3.x-final
Component: Tor | Version: Tor: 0.2.3.23-rc
Keywords: tor-client | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Comment(by andrea):
I think that looks fine; one question though. This was there before, but
why the %c in tor_sscanf(ent_buf, "%u-%u%c", &low, &high, &dummy), and
then the comparison to 2 (i.e., the %c isn't supposed to match anything)?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7192#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list