1
0
mirror of https://github.com/qbittorrent/qBittorrent.git synced 2025-03-11 12:12:38 -07:00
Chocobo1 79ca2e145f
Don't read unlimited data from files
It now guards against reading infinite files such as `/dev/zero`.
And most readings are bound with a (lax) limit.
As a side effect, more checking are done when reading a file and
overall the reading procedure is more robust.

PR .
2023-06-14 13:38:19 +08:00

2 lines
10 B
Plaintext