diff options
author | 2024-09-17 16:33:27 +0000 | |
---|---|---|
committer | 2024-09-18 09:43:46 +0000 | |
commit | ccd9d51bc1551df02498dc759deee5bda8376ccb (patch) | |
tree | 15f8466162fae2852991c495e0274537d3da88f3 /libs/input/InputConsumerNoResampling.cpp | |
parent | 751553432cfca58381be7b7a7b39561d2c920b0e (diff) |
TestEventMatchers: bounds check pointer indexes
b/365166534 was caused by a WithPointer… matcher not checking that its
pointer index was in bounds, and this check is missing from a couple of
other WithPointer… matchers. Add it, so that more bugs like this can be
found instantly in future rather than causing flaky assertions against
uninitialized memory.
Test: atest inputflinger_tests
Bug: 365166534
Flag: TEST_ONLY
Change-Id: I57d23909888749e15d4d034ddb0c091336b016d1
Diffstat (limited to 'libs/input/InputConsumerNoResampling.cpp')
0 files changed, 0 insertions, 0 deletions