aboutsummaryrefslogtreecommitdiff
path: root/include/gdbstub/commands.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-11 15:31:08 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-12-11 15:31:08 +0000
commit8704c753e8fe3155e22244f2c23e253a73aa4565 (patch)
tree603869d2f07c7edb34616f5d8f8ddfd0f1ae86b5 /include/gdbstub/commands.h
parent229416c67e8faed47dfa1d26777e71df2cc3b320 (diff)
downloadqemu-8704c753e8fe3155e22244f2c23e253a73aa4565.zip
qemu-8704c753e8fe3155e22244f2c23e253a73aa4565.tar.gz
qemu-8704c753e8fe3155e22244f2c23e253a73aa4565.tar.bz2
softfloat: Pad array size in pick_nan_muladd
While all indices into val[] should be in [0-2], the mask applied is two bits. To help static analysis see there is no possibility of read beyond the end of the array, pad the array to 4 entries, with the final being (implicitly) NULL. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20241203203949.483774-6-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/gdbstub/commands.h')
0 files changed, 0 insertions, 0 deletions