commit | b99e50922bf8a5eb9f034c1d232646fda122e83c | [log] [tgz] |
---|---|---|
author | Donald Chai <dchai@google.com> | Sat Oct 19 13:38:52 2019 -0700 |
committer | Donald Chai <dchai@google.com> | Mon Oct 21 15:14:05 2019 -0700 |
tree | d06920a9eaddbc730b762fdeeca6e7a7e6155208 | |
parent | 7780ab30db266e64096f0d7597c2bf8b7c5cce49 [diff] |
Fix computation of 'entry_length' in AAPT2 container format When the protobuf header (or data payload) size are a multiple of 4, "entry_length" (called "aligned size" in the code) would have counted bytes that are never actually written. Bug: 139418052 Change-Id: Ia688a82a67f3807f7feb0be03670bf2827b1d6a1