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

[tor-bugs] #8788 [Tor]: We can crash on a bad resolv.conf file



#8788: We can crash on a bad resolv.conf file
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  minor      |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor        |        Version:                    
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 When we use NEXT_TOKEN in resolv_conf_parse_line, we unconditionally call
 evdns_nameserver_ip_add() on the result, when it might be NULL.

 resolv.conf isn't adversary-controlled, so this isn't a huge deal, but we
 should fix it.  Libevent should get this fix too.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8788>
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