mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-24 05:25:37 +00:00
79ca2e145f
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 #19095.
Test suite
To run tests, add -DTESTING=ON
argument when invoking cmake, then build the app as usual.
After building, run cmake --build <build> --target check
where <build>
is your cmake build directory.