Zlib decompress stream fails (Data error) when stream is compressed using clDefault
Original Reporter info from Mantis: bpascalblockchain@gmail.com
-
Reporter name: Albert Molina
Original Reporter info from Mantis: bpascalblockchain@gmail.com
- Reporter name: Albert Molina
Description:
I give you a full example to reproduce.
I've found an example of stream that when compressed using clDefault, it cannot be decompressed.
Note: If compiled same example in Delphi, no issue. All Ok
Note: If compiled in FreePascal -> Error
Note: If compressed in Delphi and decompressed in FreePascal, then error. Conclusion: The bug is only at "decompression" method, not in compress method.
Steps to reproduce:
Just unzip and compile example
Mantis conversion info:
- Mantis ID: 34422
- Version: 3.0.4