[tor-bugs] #23859 [Core Tor/Stem]: stem parse_file doesn't handle stdin

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 5 00:47:39 UTC 2018


#23859: stem parse_file doesn't handle stdin
-----------------------------+------------------------
 Reporter:  teor             |          Owner:  atagar
     Type:  defect           |         Status:  closed
 Priority:  Medium           |      Milestone:
Component:  Core Tor/Stem    |        Version:
 Severity:  Normal           |     Resolution:  fixed
 Keywords:  descriptor easy  |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------
Changes (by atagar):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Thanks teor. Looked into this for a while but seems we can't safely
 convert non-seekable streams like stdin into buffered streams. Adjusted
 the exception to hopefully provide a more helpful message. See the commit
 message for all the details.

 https://gitweb.torproject.org/stem.git/commit/?id=8ec17d8

 Feel free to reopen if there's a better way for us to handle this.

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


More information about the tor-bugs mailing list