diff options
author | Denis Arefev <arefev@swemel.ru> | 2024-03-15 12:37:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-05 09:12:49 +0200 |
commit | 37f646c6040f3c9f8c28101bd6559fb07cb12be0 (patch) | |
tree | d105d8284b38a8805535cc0c23598ed33b19ee10 /drivers/pwm/pwm-pca9685.c | |
parent | cae52f61fda0f5d2949dc177f984c9e187d4c6a0 (diff) |
mtd: partitions: redboot: Added conversion of operands to a larger type
[ Upstream commit 1162bc2f8f5de7da23d18aa4b7fbd4e93c369c50 ]
The value of an arithmetic expression directory * master->erasesize is
subject to overflow due to a failure to cast operands to a larger data
type before perfroming arithmetic
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Denis Arefev <arefev@swemel.ru>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240315093758.20790-1-arefev@swemel.ru
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-pca9685.c')
0 files changed, 0 insertions, 0 deletions