[tor-bugs] #5090 [Tor Client]: parse_config_line_from_str accepts broken hex values
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sun Feb 26 12:41:58 UTC 2012
#5090: parse_config_line_from_str accepts broken hex values
------------------------+---------------------------------------------------
Reporter: emanchado | Owner:
Type: defect | Status: needs_review
Priority: minor | Milestone:
Component: Tor Client | Version:
Keywords: unittest | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Changes (by flupzor):
* status: new => needs_review
Comment:
Replying to [ticket:5090 emanchado]:
> parse_config_line_from_str happily accepts a broken hex value like
"\xg4" and produces a broken value.
>
> Expected behaviour: parse_config_line_from_str returns NULL as it does
with broken octal values.
Attached diff should fix this.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5090#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list