summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-10-17 02:07:35 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-10-19 19:40:12 +0200
commitf39f8688888ae74fa8deae2d01289b69b4727394 (patch)
tree845038a024908852df633f70f6f0cc1d04ece2f9 /drivers/input/misc
parentInput: xen-kbdfront - mark expected switch fall-through (diff)
downloadlinux-f39f8688888ae74fa8deae2d01289b69b4727394.tar.xz
linux-f39f8688888ae74fa8deae2d01289b69b4727394.zip
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: syzbot+13cb3b01d0784e4ffc3f@syzkaller.appspotmail.com Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions