https://github.com/torvalds/linux
Revision 2439d37e1bf8a34d437573c086572abe0f3f1b15 authored by Gabriel Fernandez on 17 February 2019, 05:10:16 UTC, committed by Dmitry Torokhov on 17 February 2019, 05:44:02 UTC
This patch fixes the following static checker warning:

drivers/input/keyboard/st-keyscan.c:156 keyscan_probe()
error: potential zalloc NULL dereference: 'keypad_data->input_dev'

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 1cd48dc
History
Tip revision: 2439d37e1bf8a34d437573c086572abe0f3f1b15 authored by Gabriel Fernandez on 17 February 2019, 05:10:16 UTC
Input: st-keyscan - fix potential zalloc NULL dereference
Tip revision: 2439d37
File Mode Size
kvm
lib
Makefile -rw-r--r-- 14 bytes

back to top