We've been experiencing a bug with v1.2.11.1_jtkv6.3: inflating a zip file doesn't return the expected amount of data. This could also reproduced this with v1.2.11.1_jtkv6 and the master cloned today.
With a zip file created as follows:
mkdir dir1
head -c 5757690 < /dev/urandom > dir1/file1
head -c 566784 < /dev/urandom > dir1/file2
zip datalessthansize.zip dir1/file1 dir1/file2
Reading the file using this zlib version gives incorrect data for file1:
| File |
Size |
Size inflated data |
Notes |
| file1 |
5757690 |
5750784 |
??? |
| file2 |
566784 |
566784 |
OK |
This behavior is different from the off the shelf zlib v1.2.11:
| File |
Size |
Size inflated data |
Notes |
| file1 |
5757690 |
5757690 |
OK |
| file2 |
566784 |
566784 |
OK |
Please advise.
We've been experiencing a bug with v1.2.11.1_jtkv6.3: inflating a zip file doesn't return the expected amount of data. This could also reproduced this with v1.2.11.1_jtkv6 and the master cloned today.
With a zip file created as follows:
Reading the file using this zlib version gives incorrect data for file1:
This behavior is different from the off the shelf zlib v1.2.11:
Please advise.