mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
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> |
||
---|---|---|
.. | ||
dim2 | ||
Documentation | ||
i2c | ||
net | ||
sound | ||
video | ||
Kconfig | ||
Makefile | ||
TODO |