Closed Jakovitz closed 1 day ago
@Jakovitz I've tried to create a fix for this in https://github.com/matomo-org/component-decompress/pull/25 Would you mind checking if that solves the problem for your corrupted file?
Would you mind checking if that solves the problem for your corrupted file?
It did solve it.
I managed to download a corrupt .gz file, in which case fread() returns false at some point. This results in an endless loop (using 100% of one core), since the eof will never be reached.
I'm not sure if the same issue exists with bzip.