linux-stable/drivers/staging/most
Christian Gromm 671f2a7a4a 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>
2021-03-07 11:25:58 +01:00
..
Documentation
aim-cdev
aim-network
aim-sound staging: most: sound: add sanity check for function argument 2021-03-07 11:25:58 +01:00
aim-v4l2
hdm-dim2
hdm-i2c
hdm-usb
mostcore
Kconfig
Makefile
TODO