diff options
author | Denis Rastyogin <gerben@altlinux.org> | 2025-01-24 15:26:32 +0300 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-06 15:46:18 +0100 |
commit | 96adf9b404e51b9acdf9592595ad935905de1f4e (patch) | |
tree | 8c01b1b1755c1131f8bb76b875055c37a770c1b3 /scripts/rust | |
parent | ff3779a543954f7c3e7f3a604eefcc7c15726940 (diff) | |
download | qemu-96adf9b404e51b9acdf9592595ad935905de1f4e.zip qemu-96adf9b404e51b9acdf9592595ad935905de1f4e.tar.gz qemu-96adf9b404e51b9acdf9592595ad935905de1f4e.tar.bz2 |
target/mips: Fix possible MSA int overflow
Fix possible overflow in 1 << (DF_BITS(df) - 2) when DF_BITS(df)
is 64 by using a 64-bit integer for the shift operation.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reported-by: Dmitriy Fedin <d.fedin@fobos-nt.ru>
Signed-off-by: Denis Rastyogin <gerben@altlinux.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20250124122707.54264-1-gerben@altlinux.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts/rust')
0 files changed, 0 insertions, 0 deletions