aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2018-10-16 17:07:35 -0700
committerDmitry Torokhov <[email protected]>2018-10-19 10:40:12 -0700
commitf39f8688888ae74fa8deae2d01289b69b4727394 (patch)
tree845038a024908852df633f70f6f0cc1d04ece2f9 /tools/perf/util/trace-event-scripting.c
parent9023705192242a77f05c1647b9f0c6b55c955ecf (diff)
Input: synaptics - avoid using uninitialized variable when probing
synaptics_detect() does not check whether sending commands to the device succeeds and instead relies on getting unique data from the device. Let's make sure we seed entire buffer with zeroes to make sure we will not use garbage on stack that just happen to be 0x47. Reported-by: [email protected] Reviewed-by: Benjamin Tissoires <[email protected]> Reviewed-by: Peter Hutterer <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions