commit | ccd9d51bc1551df02498dc759deee5bda8376ccb | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@google.com> | Tue Sep 17 16:33:27 2024 +0000 |
committer | Harry Cutts <hcutts@google.com> | Wed Sep 18 09:43:46 2024 +0000 |
tree | 15f8466162fae2852991c495e0274537d3da88f3 | |
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