Andrew Morton
92788ac1eb
drivers/input/evdev.c: don't kfree() a vmalloc address
...
If kzalloc() failed and then evdev_open_device() fails, evdev_open()
will pass a vmalloc'ed pointer to kfree.
This might fix https://bugzilla.kernel.org/show_bug.cgi?id=88401 , where
there was a crash in kfree().
Reported-by: Christian Casteyde <casteyde.christian@free.fr>
Belatedly-Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Henrik Rydberg <rydberg@euromail.se>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-12-03 09:35:38 -08:00
..
gameport
Input: joystick - use ktime for measuring timing
2014-09-11 23:41:18 -07:00
joystick
Input: xpad - use proper endpoint type
2014-11-25 00:42:19 -08:00
keyboard
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2014-10-31 19:51:11 -07:00
misc
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2014-11-14 14:31:54 -08:00
mouse
Input: elantech - trust firmware about trackpoint presence
2014-11-25 00:42:13 -08:00
serio
Revert "Input: i8042 - disable active multiplexing by default"
2014-10-31 09:35:53 -07:00
tablet
Merge branch 'wacom' into next
2014-08-06 23:31:48 -07:00
touchscreen
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2014-10-31 19:51:11 -07:00
apm-power.c
evbug.c
evdev.c
drivers/input/evdev.c: don't kfree() a vmalloc address
2014-12-03 09:35:38 -08:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-mt.c
Input: fix used slots detection breakage
2014-08-25 14:59:48 -07:00
input-polldev.c
Input: implement managed polled input devices
2014-05-14 16:40:04 -07:00
input.c
Input: avoid negative input device numbers
2014-10-09 15:27:24 -07:00
joydev.c
Kconfig
Input: mousedev - allow disabling even without CONFIG_EXPERT
2013-10-31 08:46:07 -07:00
Makefile
matrix-keymap.c
mousedev.c
Input: mousedev - fix race when creating mixed device
2014-03-29 14:44:23 -07:00
sparse-keymap.c
treewide: Fix typo in Documentation/DocBook
2014-02-19 14:58:17 +01:00