diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-08-04 10:32:59 -0400 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2020-08-06 20:07:47 +0000 |
commit | aba70abe81618542044dc20907f281a56b8b500e (patch) | |
tree | dc310775f553d2e7b78a72f84ee1472f015451c9 /scripts/paycheck_unittest.py | |
parent | f6f75c208f3fa34d5cd38bdaf473dc36ef95ac8b (diff) |
Improve payload magic header handling
Currently, we use central directory's extra fields and filenames to
determine starting position of a zipentry's file data. However, central
directory's extra field might differ from extra field in local file
header. For example, the Extended-Timestamp field has different formats
depending on whether it's in local file header or central directory. We
should use local file header for computing offsets.
Test: Serve an OTA by update_device.py
Change-Id: I00d150d874b9c874bb713569ea14938e036f854e
Diffstat (limited to 'scripts/paycheck_unittest.py')
0 files changed, 0 insertions, 0 deletions