diff options
author | Denis Arefev <arefev@swemel.ru> | 2024-03-15 12:37:58 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-03-25 11:17:16 +0100 |
commit | 1162bc2f8f5de7da23d18aa4b7fbd4e93c369c50 (patch) | |
tree | 9088f8ec729b463940e94d7e597395117de8b30f /scripts/generate_rust_analyzer.py | |
parent | 26729dbb53ac575635ef96ece0442165efa9613f (diff) |
mtd: partitions: redboot: Added conversion of operands to a larger type
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
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions