[tor-bugs] #5090 [- Select a component]: parse_config_line_from_str accepts broken hex values

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Feb 11 22:17:53 UTC 2012


#5090: parse_config_line_from_str accepts broken hex values
----------------------------------+-----------------------------------------
 Reporter:  emanchado             |          Owner:     
     Type:  defect                |         Status:  new
 Priority:  trivial               |      Milestone:     
Component:  - Select a component  |        Version:     
 Keywords:  unittest              |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------
 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.

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


More information about the tor-bugs mailing list