diff options
author | Andrew Lassalle <andrewlassalle@chromium.org> | 2019-11-18 11:33:57 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-19 04:37:33 +0000 |
commit | d04ca0c5cc9e4507301be355fd3bd86b871b05c4 (patch) | |
tree | 38427341c137b32b99d143a878d14a7e89cb3af5 /scripts/payload_info_unittest.py | |
parent | e99511f9987c1315a019e1903d81e0d401331229 (diff) |
update_engine: Fix delta_performer_fuzzer
-Set the flag hash_checks_mandatory to true in the instance of
InstallPlan in the fuzzer. This allows the delta performer to perfom
aditional checks which prevent incosistencies between the manifest size
in the payload and the one reported by Omaha.
-Stop the fuzzer test if the Write function returns false.
-Fix a few minor typos.
BUG=chromium:1020621
TEST=cros_fuzz reproduce
clusterfuzz-testcase-minimized-update_engine_delta_performer_fuzzer
-4857426773671936
Change-Id: I43ca72a35d52d3b88453eb516ee05d64feadc764
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/1919716
Auto-Submit: Andrew Lassalle <andrewlassalle@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Tested-by: Andrew Lassalle <andrewlassalle@chromium.org>
Commit-Queue: Andrew Lassalle <andrewlassalle@chromium.org>
Diffstat (limited to 'scripts/payload_info_unittest.py')
0 files changed, 0 insertions, 0 deletions