[tor-bugs] #21654 [Core Tor/Tor]: Don't use fgets() when we might get EAGAIN
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Mar 8 17:27:30 UTC 2017
#21654: Don't use fgets() when we might get EAGAIN
--------------------------+----------------------------------
Reporter: nickm | Owner: ahf
Type: defect | Status: needs_review
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+----------------------------------
Changes (by ahf):
* status: needs_revision => needs_review
Comment:
Yikes, good catch. Should be fixed in the branch now.
Additionally I've added a test case for `get_string_from_pipe()` which
passes on FreeBSD, Linux, OS X and HardenedBSD. Did not test on OpenBSD.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21654#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list