diff options
| author | Kelvin Zhang <zhangkelvin@google.com> | 2020-08-04 10:32:59 -0400 |
|---|---|---|
| committer | Ali B <abittin@gmail.com> | 2021-07-03 13:22:41 +0300 |
| commit | f287ef16b585ac927f83e2f8b8f3893d834371cb (patch) | |
| tree | 3d990edd51944aa7c542509a087389aa8f3dc8d3 /common/dynamic_partition_control_interface.h | |
| parent | e843fb5ee9cd01c68b245ca9013c09d2503c7d4d (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 'common/dynamic_partition_control_interface.h')
0 files changed, 0 insertions, 0 deletions
