diff options
author | Calder Kitagawa <ckitagawa@google.com> | 2018-04-25 15:06:35 +0000 |
---|---|---|
committer | Edward Lesmes <ehmaldonado@google.com> | 2021-07-23 22:13:06 +0000 |
commit | 4d8d15c8e76d6190ad097f5aac42262f6c59bc77 (patch) | |
tree | bb4125fbab44d7cb5c22b6d8af6d71e90fd37494 | |
parent | 637057c98189023b2c61a5a1ac0fa7cb823956e3 (diff) | |
download | zucchini-4d8d15c8e76d6190ad097f5aac42262f6c59bc77.tar.gz |
[Zucchini] Remove CHECK for unknown exe.
Was causing ClusterFuzz crashes when an unknown exe type was returned.
Instead of crashing the runtime should just return kExeTypeUnknown and
let the runtime handle the problem as before.
Bug: 836803
Change-Id: I23841fc50025a9850ac322960069270cd3e524be
Reviewed-on: https://chromium-review.googlesource.com/1028212
Reviewed-by: Samuel Huang <huangs@chromium.org>
Commit-Queue: Calder Kitagawa <ckitagawa@google.com>
Cr-Commit-Position: refs/heads/master@{#553552}
NOKEYCHECK=True
GitOrigin-RevId: 3972cc6c393d131e28c65c5428c80065062bae63
-rw-r--r-- | image_utils.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/image_utils.h b/image_utils.h index 868e358..0f82140 100644 --- a/image_utils.h +++ b/image_utils.h @@ -173,7 +173,6 @@ constexpr ExecutableType CastToExecutableType(uint32_t possible_exe_type) { case kExeTypeUnknown: return static_cast<ExecutableType>(possible_exe_type); default: - NOTREACHED() << "Unknown type."; return kExeTypeUnknown; } } |