asyncritus
asyncritus
I am getting the same error trying to deflate the data contained in this file [flatedata.zip](https://github.com/icsharpcode/SharpZipLib/files/13283866/flatedata.zip) (unzip the attachment first). It is also a portion of the content stream of...
It looks like this is actually a bug in Adobe's PDF generation engine. It is leaving off the last byte of the Adler-32 checksum if the last byte is 0x00....
I opened the PDF file in a hex editor and stripped out everything directly before and directly after the binary stream data. Here you can see where the 0x00 at...
After some further investigation with more examples, I've found that it is not just leaving off trailing 0x00 bytes, but as soon as it encounters a 0x00 byte in the...