commit | 6f613875a175cd5019a5ad5b735485f82bd11fd3 | [log] [tgz] |
---|---|---|
author | Donald Chai <dchai@google.com> | Sat Oct 19 13:38:52 2019 -0700 |
committer | Donald Chai <dchai@google.com> | Fri Nov 08 05:15:38 2019 +0000 |
tree | 23e902f0ce434a4ea2cfa9685e1bb10c66192519 | |
parent | c000664c7c2b9a71fc2ead560acb0611f7f9f41b [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 (cherry picked from commit b99e50922bf8a5eb9f034c1d232646fda122e83c)