summaryrefslogtreecommitdiffstats
path: root/fs/bfs
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-10-16 17:07:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-01 09:42:51 +0100
commit922fad66a961a34d970f9d0d0e961813489c556c (patch)
tree8d3b8871405e3d59371ca71b0daf866d1eb049c5 /fs/bfs
parent9520db16756e24873677d867a6a0f9cab3b6726d (diff)
downloadlinux-stable-922fad66a961a34d970f9d0d0e961813489c556c.tar.gz
linux-stable-922fad66a961a34d970f9d0d0e961813489c556c.tar.bz2
linux-stable-922fad66a961a34d970f9d0d0e961813489c556c.zip
Input: synaptics - avoid using uninitialized variable when probing
commit f39f8688888ae74fa8deae2d01289b69b4727394 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/bfs')
0 files changed, 0 insertions, 0 deletions