diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-08-04 10:32:59 -0400 |
---|---|---|
committer | P Adarsh Reddy <padarshr@codeaurora.org> | 2020-10-29 07:08:47 +0000 |
commit | c3b0830ebfdbbe13bc1faa3f7c1b8180722cf46e (patch) | |
tree | 7cde7721e46be91980cf29aac42e0444c3ed0bcf /payload_consumer/filesystem_verifier_action_unittest.cc | |
parent | c6f9f59746b3956381444c8a8bf65bdf08cc8dde (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.
CRs-Fixed: 2804037
Test: Serve an OTA by update_device.py
Change-Id: I00d150d874b9c874bb713569ea14938e036f854e
(cherry picked from commit aba70abe81618542044dc20907f281a56b8b500e)
Diffstat (limited to 'payload_consumer/filesystem_verifier_action_unittest.cc')
0 files changed, 0 insertions, 0 deletions