Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PayloadWriter: Don't set data_offset for ZERO and DISCARD operations
`data_offset` should only be set if the operation references data in the blob section of the payload. This is never encountered when patching a file because avbroot does not produce ZERO/DISCARD operations, but we should ensure valid outputs in all scenarios. Signed-off-by: Andrew Gunnerson <[email protected]>
- Loading branch information