aboutsummaryrefslogtreecommitdiff
path: root/image_utils_unittest.cc
diff options
context:
space:
mode:
authorCalder Kitagawa <ckitagawa@google.com>2018-04-09 14:49:56 +0000
committerEdward Lesmes <ehmaldonado@google.com>2021-07-23 22:04:53 +0000
commit60ba82943a032470727baca4c1b47f60f1f1391f (patch)
treea84840ddd06210266fd3d271b269bdcc9772e4c1 /image_utils_unittest.cc
parent97b68bff47e939b997bdf9364794591efa77ea8f (diff)
downloadzucchini-60ba82943a032470727baca4c1b47f60f1f1391f.tar.gz
[Zucchini]: Fix fuzzer CHECK error
ClusterFuzz found an issue with the DCHECK for "hi <= image.size()" in rel32_utils.cc. This turned out to be a lack of undestanding on my part that the image gets shruken to the understood region on parsing in Win32 PE disassembler. As a result, we should be using this shruken image's size rather than the original image size when invoking the family of MakeRead functions. Bug: 830173 Change-Id: I957990ed0dacb38db4ce85df10a1ffe988e8cc2f Reviewed-on: https://chromium-review.googlesource.com/1002877 Commit-Queue: Calder Kitagawa <ckitagawa@google.com> Reviewed-by: Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#549173} NOKEYCHECK=True GitOrigin-RevId: 4af21b941d3394f058b86eaaf16b14c281911c62
Diffstat (limited to 'image_utils_unittest.cc')
0 files changed, 0 insertions, 0 deletions