commit | 9b82a24f0e7a4f128782269be9e97fea64b393f8 | [log] [tgz] |
---|---|---|
author | Paulo Casanova <pasc@google.com> | Thu Nov 02 10:53:45 2017 -0700 |
committer | Paulo Casanova <pasc@google.com> | Thu Nov 02 19:09:53 2017 +0000 |
tree | 426056157ba560232898c93e43b72a5b132ce8de | |
parent | c7e7e174848618bc1f4535dad2fb09f4757d711e [diff] |
Fix buffer underflow bug in apkzlib. If the extra fields has a header with data size that exceeds the available buffer, ExtraField would throw a buffer underflow instead of IOException and this would not be caught in ZFile's update. Test: included Bug: 68763077 Change-Id: I34db018526c8cd3a2bc3ebf6fb97604ed941ddfa