[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #5090 [- Select a component]: 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:  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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs