Skip to content

Commit

Permalink
[accessibility] Suppress validation crashes in ax_table_fuzzer
Browse files Browse the repository at this point in the history
The fuzzer is expected to generate invalid inputs. These shouldn't
trigger FATAL/CHECK crashes.

Fixed: 1467081
Change-Id: If01fdcf25ae21210f6e858698525a3feae4c5216
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4799924
Reviewed-by: Aaron Leventhal <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Auto-Submit: Greg Thompson <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1186483}
  • Loading branch information
GregTho authored and Chromium LUCI CQ committed Aug 22, 2023
1 parent 13d4eef commit c2ac168
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/accessibility/ax_table_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ extern "C" int LLVMFuzzerTestOneInput(const unsigned char* data, size_t size) {
VLOG(1) << "Input accessibility tree:\n" << initial_state.ToString();

ui::AXTree tree;
tree.DisallowFailFastForFuzzing();
if (tree.Unserialize(initial_state))
TestTableAPIs(tree.root());

Expand Down

0 comments on commit c2ac168

Please sign in to comment.