fix-patch for 0026827-bug for packages\paszlib\src\infcodes.pas, fixes "out of range" on decompressing
Original Reporter info from Mantis: fvi
-
Reporter name: Filiuta Vitali
Original Reporter info from Mantis: fvi
- Reporter name: Filiuta Vitali
Description:
After migrating from 2.7.1 to 3.0.5 frepascal, got an error Z_DATA_ERROR (if release) or "out of range" (if dedug) while decompressing streams via zlibpas. Found, that cause of it is the patch, applied in 0026827 issue, without it everything works just fine.
I have fixed error, and prepared patch. Now both: my test code, and troublemaker code from 0026827 works fine.
Also that fix must resolve 0031219 and, maybe 0032773 issues.
Mantis conversion info:
- Mantis ID: 33493
- Version: 3.0.4
- Fixed in version: 3.1.1
- Fixed in revision: 38657 (#df435ca1)
- Target version: 3.2.0