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

Re: [tor-bugs] #2045 [Core Tor/Tor]: Make tor_check_port_forwarding handle incomplete lines



#2045: Make tor_check_port_forwarding handle incomplete lines
--------------------------+------------------------------
 Reporter:  sjmurdoch     |          Owner:  sjmurdoch
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.2.???
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tor-relay     |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------
Changes (by pingl):

 * severity:   => Normal


Comment:

 What about using `getline` instead of `fgets`? I've modified
 `tor_read_all_handle` to use `getline` instead of `fgets`

 Here it is the link of the branch

 https://github.com/aigna/tor/tree/defect-2045

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