linux/drivers/staging/most
Christian Gromm 0cac694c2c staging: most: sound: add sanity check for function argument
[ Upstream commit 45b754ae5b ]

This patch checks the function parameter 'bytes' before doing the
subtraction to prevent memory corruption.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/1612282865-21846-1-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2021-03-07 12:34:10 +01:00
..
dim2 staging: most: dim2: Add missing identifier name to function argument 2020-08-18 15:56:27 +02:00
Documentation staging: most: Documentation: move ABI description files out of staging area 2020-03-24 13:42:44 +01:00
i2c staging: most: move core files out of the staging area 2020-03-24 13:42:44 +01:00
net staging: most: Use %pM format specifier for MAC addresses 2020-07-31 09:47:45 +02:00
sound staging: most: sound: add sanity check for function argument 2021-03-07 12:34:10 +01:00
video Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
Kconfig drivers: most: add character device interface driver 2020-09-07 15:16:26 +02:00
Makefile drivers: most: add character device interface driver 2020-09-07 15:16:26 +02:00
TODO Staging: most: add MOST driver's core module 2015-07-24 13:47:32 -07:00