Closed Lupus closed 2 years ago
Assuming that the input file is not corrupted or maliciously crafted, it is impossible to read past the end of the stream.
In section 2.1 of the specification, you can see that the index contains the total "raw" size. The "raw" size is the size of the uncompressed data.
Great, thanks for confirming!
Does xflate track the total size of uncompressed stream? Is it possible to read past the end of the stream somehow?