commit | dbf62d939a0faa0ecf5a55c8633b1c6bf2182d03 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Mon Oct 03 16:15:21 2022 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Mon Oct 03 16:27:49 2022 +0800 |
tree | 6b35588edc8a3e92dd877fda65e91c018f9c7c23 | |
parent | 9f7a19d0f349f984b965c837e4bb466f87e92f7c [diff] |
simg_dump.py: fix error for CHUNK_TYPE_FILL In python3, division of two integers produces a float, which cannot be used to multiply a bytes sequence. Using // to produce an integer quotient. Bug: 245257511 Test: ./system/core/libsparse/simg_dump.py -sv path/to/image Change-Id: Ibe95056409ac3676a68f5e7693331ca4a66e9fb7