[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5090 [Tor Client]: parse_config_line_from_str accepts broken hex values
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs