summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2017-11-01 16:32:14 -0700
committer Siarhei Vishniakou <svv@google.com> 2018-03-14 12:52:30 -0700
commitd65d1f72eac74a63d3e4a98416928729c27b5ec6 (patch)
treeea67913f72cf1aec106376052e0ce94334dc0b52 /libs/gui/BufferQueue.cpp
parent405a40c500de313510d4bb4eedb76a6ce8748176 (diff)
Fix broken input tests
InputPublisherAndConsumer_test currently segfaults due to null pointer dereference. This is because 0 is passed instead of a valid pointer to an allocated int32_t. Also, enforce strict compiler warnings, include signed comparisons. Bug: 62033391 Test: m -j libinput_tests_InputEvent_test libinput_tests_InputChannel_test libinput_tests_InputPublisherAndConsumer_test libinput_tests_InputTransport_test libinput_tests_VelocityTracker_test && adb push out/target/product/taimen/data/nativetest/libinput_tests/ /data/nativetest/ then run the above tests individually, for example /data/nativetest/libinput_tests # ./InputPublisherAndConsumer_test and others in a similar manner Change-Id: Ia030cdbfa22d2bf7bdf6274a337b059ca3f9a6c3 Merged-In: Ia030cdbfa22d2bf7bdf6274a337b059ca3f9a6c3
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions