summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-10-10 08:03:54 -0700
committer Siarhei Vishniakou <svv@google.com> 2022-10-10 08:16:26 -0700
commitb8fd3ef57dd02e0f9c171c3ba9775ca781cd5527 (patch)
tree30d5741a96e119cffd69d2830afbb6b2ec5bee37 /libs/gui/BufferQueueThreadState.cpp
parent5a1e9348471743066a54053b1a7c927ee83af5fc (diff)
Delete struct PointerData to fix ODR violation
This data structure is defined with the same name in PreferStylusOverTouch_test and in UnwantedInteractionBlocker_test. This creates a "one-definition-rule" violation. This violation is not getting caught by the compiler today. As a result, this causes the read to go out of bounds when the wrong data structure is used. The issue can be reproduced by running the tests on host. To fix it, simply remove this struct and fallback to the Point struct from libui. Bug: 217165277 249591924 251318977 Test: atest --host --no-bazel-mode inputflinger_tests Change-Id: I79e0647df63bbf69dd3074f1bd2931b298f4cd48
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions