aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorDenis Rastyogin <gerben@altlinux.org>2025-01-24 15:26:32 +0300
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-06 15:46:18 +0100
commit96adf9b404e51b9acdf9592595ad935905de1f4e (patch)
tree8c01b1b1755c1131f8bb76b875055c37a770c1b3 /scripts/qapi/expr.py
parentff3779a543954f7c3e7f3a604eefcc7c15726940 (diff)
downloadqemu-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/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions