git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KS8851: NULL pointer dereference if list is empty
[safe/jmp/linux-2.6]
/
drivers
/
hid
/
usbhid
/
hid-quirks.c
diff --git
a/drivers/hid/usbhid/hid-quirks.c
b/drivers/hid/usbhid/hid-quirks.c
index
e71e005
..
1152f9b
100644
(file)
--- a/
drivers/hid/usbhid/hid-quirks.c
+++ b/
drivers/hid/usbhid/hid-quirks.c
@@
-16,6
+16,7
@@
*/
#include <linux/hid.h>
+#include <linux/slab.h>
#include "../hid-ids.h"