Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9c933d05 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Override maxValue when the initial value is negative or zero

The fuzzer can provide negative values for maxValue. Generally, we would
fix the fuzzer to provide values in a different range. However, this
exact scenario is already handled (partially) in the constructor.

So instead, for simplicity, override this value to something valid (like
1).

Bug: 342826711
Test: FUZZER=inputflinger_touchpad_input_fuzzer; m $FUZZER && ASAN_OPTIONS=detect_odr_violation=0 $ANDROID_HOST_OUT/fuzz/x86_64/$FUZZER/$FUZZER ~/clusterfuzz-testcase-minimized-inputflinger_touchpad_input_fuzzer-5915386382188544
Change-Id: Iee9deec102b577484f66df759a037af72da6a1cd
parent 6ad584e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment