mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-24 12:45:51 +00:00
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.