[tor-bugs] #28994 [Core Tor/Tor]: Close stdout pipe on error in process_unix_exec (was double closing stdin pipe)

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 4 20:04:35 UTC 2019


#28994: Close stdout pipe on error in process_unix_exec (was double closing stdin
pipe)
--------------------+------------------------------
 Reporter:  kjak    |          Owner:  (none)
     Type:  defect  |         Status:  new
 Priority:  Medium  |      Component:  Core Tor/Tor
  Version:          |       Severity:  Normal
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
 Reviewer:          |        Sponsor:
--------------------+------------------------------
 When an error occurs and cleanup is being performed in
 `process_unix_exec`, the stdin pipe is currently being double closed
 instead of closing both the stdin and stdout pipes.  This occurs in two
 places.

 PR to follow.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28994>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list