diff options
| author | 2024-05-29 10:21:19 -0700 | |
|---|---|---|
| committer | 2024-05-31 03:48:35 -0700 | |
| commit | 9c933d056b60a1a6eeb71a13f4fb60c64405464a (patch) | |
| tree | 4c0bc11f4e9d1c49ca64200b84db0e105c287274 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 6ad584e5446030221a4b6bb1a9e580f6fe9e4fb2 (diff) | |
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
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions