Commit Graph

2 Commits

Author SHA1 Message Date
queue b1d187613a bencode: fix nontermination on empty or malformed input
read(1) returns b'' on EOF, which wasn't checked for in a couple cases,
which could cause empty/truncated input to enter one of the `while True`
loops without hope of exit. programming is hard.
2017-07-24 20:53:48 -06:00
nyaadev 00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00