commit | c6e35cb47a90a43b5a0009f526b695b2b5c87465 | [log] [tgz] |
---|---|---|
author | Kenny Root <[email protected]> | Fri Feb 15 09:37:11 2013 -0800 |
committer | Kenny Root <[email protected]> | Fri Feb 15 11:05:48 2013 -0800 |
tree | f7d7a151e46f6d13fc3568ec8b704d8a9c53d364 | |
parent | 9657ba0edc8bab5a36c26bcd94366149aed63331 [diff] |
StreamingZipInflater: fix mmap'd end of read When reaching the end of a mmap'd segment, it was erroneously trying to read more data. This is because we were reading data one character at a time, so we never reached the Z_STREAM_END result without going through the loop once more. Bug: https://code.google.com/p/android/issues/detail?id=39041 Change-Id: I6c53b8187384a42217c32112d6a0c2857f471109