linux/drivers/platform/x86
Xi Wang e424fb8cc4 panasonic-laptop: avoid overflow in acpi_pcc_hotkey_add()
num_sifr could go negative since acpi_pcc_get_sqty() returns -EINVAL
on error.  Then it could bypass the sanity check (num_sifr > 255).
The subsequent call to kzalloc() would allocate a small buffer, leading
to a memory corruption.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2012-03-12 10:25:51 -04:00
..
acer-wmi.c acer-wmi: No wifi rfkill on Lenovo machines 2012-03-12 09:58:02 -04:00
acerhdf.c
amilo-rfkill.c x86: Add amilo-rfkill driver for some Fujitsu-Siemens Amilo laptops 2012-03-12 09:56:47 -04:00
asus_acpi.c
asus-laptop.c
asus-nb-wmi.c
asus-wmi.c
asus-wmi.h
classmate-laptop.c
compal-laptop.c
dell-laptop.c
dell-wmi-aio.c
dell-wmi.c
eeepc-laptop.c
eeepc-wmi.c
fujitsu-laptop.c
fujitsu-tablet.c Fujitsu tablet extras driver 2012-03-12 09:57:52 -04:00
hdaps.c
hp_accel.c
hp-wmi.c
ibm_rtl.c asm-generic: architecture independent readq/writeq for 32bit environment 2012-02-21 16:47:28 -08:00
ideapad-laptop.c
intel_ips.c asm-generic: architecture independent readq/writeq for 32bit environment 2012-02-21 16:47:28 -08:00
intel_ips.h
intel_menlow.c
intel_mid_powerbtn.c
intel_mid_thermal.c
intel_oaktrail.c
intel_pmic_gpio.c
intel_rar_register.c
intel_scu_ipc.c
intel_scu_ipcutil.c
Kconfig Fujitsu tablet extras driver 2012-03-12 09:57:52 -04:00
Makefile Fujitsu tablet extras driver 2012-03-12 09:57:52 -04:00
msi-laptop.c
msi-wmi.c
mxm-wmi.c
panasonic-laptop.c panasonic-laptop: avoid overflow in acpi_pcc_hotkey_add() 2012-03-12 10:25:51 -04:00
samsung-laptop.c
samsung-q10.c
sony-laptop.c
tc1100-wmi.c
thinkpad_acpi.c
topstar-laptop.c
toshiba_acpi.c
toshiba_bluetooth.c
wmi.c
xo1-rfkill.c
xo15-ebook.c