linux-sg2042/drivers/platform
Dan Carpenter b1d353ad3d intel_scu_ipcutil: underflow in scu_reg_access()
"count" is controlled by the user and it can be negative.  Let's prevent
that by making it unsigned.  You have to have CAP_SYS_RAWIO to call this
function so the bug is not as serious as it could be.

Fixes: 5369c02d95 ('intel_scu_ipc: Utility driver for intel scu ipc')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2016-01-30 09:40:35 -08:00
..
chrome platform/chrome: Fix i2c-designware adapter name 2015-11-09 19:43:33 -08:00
goldfish Replace module_platform_driver with builtin_platform driver in non modules. 2015-07-02 10:42:13 -07:00
mips MIPS: Loongson-3: Add chipset ACPI platform driver 2015-04-01 17:22:18 +02:00
olpc OLPC: Use %*ph specifier instead of passing direct values 2015-10-06 23:22:08 +01:00
x86 intel_scu_ipcutil: underflow in scu_reg_access() 2016-01-30 09:40:35 -08:00
Kconfig MIPS: Loongson-3: Add CPU Hwmon platform driver 2015-04-01 17:22:17 +02:00
Makefile MIPS: Loongson-3: Add CPU Hwmon platform driver 2015-04-01 17:22:17 +02:00