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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 26 01:49:46 UTC 2016


#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


More information about the tor-bugs mailing list