android_kernel_google_msm/drivers/hid
Jiri Kosina e78c127e8e HID: picolcd: sanity check report size in raw_event() callback
commit 844817e47e upstream.

The report passed to us from transport driver could potentially be
arbitrarily large, therefore we better sanity-check it so that raw_data
that we hold in picolcd_pending structure are always kept within proper
bounds.

Reported-by: Steven Vittitoe <scvitti@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
[lizf: Backported to 3.4: adjust filename]
Signed-off-by: Zefan Li <lizefan@huawei.com>
2014-09-25 11:49:15 +08:00
..
usbhid HID: usbhid: fix build problem 2014-04-14 06:44:19 -07:00
hid-a4tech.c
hid-apple.c HID: apple: Add Apple wireless keyboard 2011 ANSI PID 2014-04-14 06:44:18 -07:00
hid-axff.c
hid-belkin.c
hid-cherry.c HID: fix a couple of off-by-ones 2014-09-25 11:49:09 +08:00
hid-chicony.c HID: add ASUS AIO keyboard model AK1D 2012-08-15 08:10:30 -07:00
hid-core.c HID: core: fix validation of report id 0 2014-06-30 20:01:31 -07:00
hid-cypress.c HID: add support for Cypress barcode scanner 04B4:ED81 2012-08-15 08:10:30 -07:00
hid-debug.c Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus 2012-01-05 15:51:02 +01:00
hid-dr.c
hid-elecom.c
hid-emsff.c Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus 2012-01-05 15:51:02 +01:00
hid-ezkey.c
hid-gaff.c
hid-gyration.c
hid-holtekff.c
hid-hyperv.c HID: hyperv: Properly disconnect the input device 2012-02-02 10:56:11 +01:00
hid-ids.h HID: usbhid: quirk for MSI GX680R led panel 2014-04-14 06:44:19 -07:00
hid-input.c HID: validate feature and input report details 2014-04-14 06:44:18 -07:00
hid-kensington.c
hid-keytouch.c
hid-kye.c HID: fix a couple of off-by-ones 2014-09-25 11:49:09 +08:00
hid-lcpower.c
hid-lg.c HID: fix a couple of off-by-ones 2014-09-25 11:49:09 +08:00
hid-lg.h
hid-lg2ff.c HID: LG: validate HID output report details 2013-10-05 07:06:54 -07:00
hid-lg3ff.c HID: LG: validate HID output report details 2013-10-05 07:06:54 -07:00
hid-lg4ff.c HID: LG: validate HID output report details 2013-10-05 07:06:54 -07:00
hid-lgff.c HID: LG: validate HID output report details 2013-10-05 07:06:54 -07:00
hid-logitech-dj.c HID: logitech-dj: prevent false errors to be shown 2014-09-25 11:49:14 +08:00
hid-logitech-dj.h HID: logitech-dj: prevent false errors to be shown 2014-09-25 11:49:14 +08:00
hid-magicmouse.c HID: magicmouse: sanity check report size in raw_event() callback 2014-09-25 11:49:15 +08:00
hid-microsoft.c HID: microsoft: do not use compound literal - fix build 2013-08-20 08:26:27 -07:00
hid-monterey.c HID: fix a couple of off-by-ones 2014-09-25 11:49:09 +08:00
hid-multitouch.c HID: multitouch: validate indexes details 2014-04-14 06:44:18 -07:00
hid-ntrig.c HID: ntrig: validate feature report details 2013-09-26 17:15:36 -07:00
hid-ortek.c
hid-petalynx.c HID: fix a couple of off-by-ones 2014-09-25 11:49:09 +08:00
hid-picolcd.c HID: picolcd: sanity check report size in raw_event() callback 2014-09-25 11:49:15 +08:00
hid-pl.c HID: pantherlord: validate output report details 2013-09-26 17:15:34 -07:00
hid-primax.c
hid-prodikeys.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
hid-roccat-arvo.c
hid-roccat-arvo.h
hid-roccat-common.c Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus 2012-01-05 15:51:02 +01:00
hid-roccat-common.h
hid-roccat-isku.c HID: roccat: Add support for Isku keyboard 2011-12-06 10:21:10 +01:00
hid-roccat-isku.h HID: roccat: Add support for Isku keyboard 2011-12-06 10:21:10 +01:00
hid-roccat-kone.c
hid-roccat-kone.h
hid-roccat-koneplus.c
hid-roccat-koneplus.h
hid-roccat-kovaplus.c HID: roccat: fix Coverity CID 141438 2013-12-04 10:50:35 -08:00
hid-roccat-kovaplus.h
hid-roccat-pyra.c
hid-roccat-pyra.h
hid-roccat.c
hid-saitek.c HID: add new driver for non-compliant Saitek devices 2012-02-22 11:30:17 +01:00
hid-samsung.c
hid-sjoy.c HID: sjoy: Add device ID for Super Joy Box 3 2012-02-21 14:16:36 +01:00
hid-sony.c HID: clean up quirk for Sony RF receivers 2014-04-14 06:44:19 -07:00
hid-speedlink.c HID: Fix Speedlink VAD Cezanne support for some devices 2013-09-26 17:15:34 -07:00
hid-sunplus.c HID: fix a couple of off-by-ones 2014-09-25 11:49:09 +08:00
hid-tivo.c HID: tivo: fix support for bluetooth version of tivo Slide 2012-03-30 15:28:59 +02:00
hid-tmff.c
hid-topseed.c
hid-twinhan.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
hid-uclogic.c HID: uclogic: Replace original rdescs with links 2012-03-06 11:20:54 +01:00
hid-wacom.c Merge branch 'upstream' into for-linus 2012-03-20 13:18:05 +01:00
hid-waltop.c HID: waltop: Add support for tablet with PID 0038 2012-03-06 11:20:55 +01:00
hid-wiimote-core.c HID: wiimote: Fix IR data parser 2012-06-01 15:18:17 +08:00
hid-wiimote-debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
hid-wiimote-ext.c HID: wiimote: fix nunchuck button parser 2013-02-28 06:59:05 -08:00
hid-wiimote.h
hid-zpff.c HID: zeroplus: validate output report details 2013-10-01 09:10:51 -07:00
hid-zydacron.c
hidraw.c HID: hidraw: correctly deallocate memory on device disconnect 2014-04-14 06:44:19 -07:00
Kconfig HID: default HID_BATTERY_STRENGTH to no 2012-04-19 14:16:43 +02:00
Makefile Merge branch 'upstream' into for-linus 2012-03-20 13:18:05 +01:00