diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-06-06 10:16:29 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-06-06 12:11:02 -0700 |
commit | c0dde5fc5ccce56b69095bc29af72987efd65d1e (patch) | |
tree | f0b22dbba59b83a3ee8c9366cc0c65f0b9992437 /docs | |
parent | 80bdd58ae41ee7f65081c33e5f96cd6033da8337 (diff) | |
download | qemu-c0dde5fc5ccce56b69095bc29af72987efd65d1e.zip qemu-c0dde5fc5ccce56b69095bc29af72987efd65d1e.tar.gz qemu-c0dde5fc5ccce56b69095bc29af72987efd65d1e.tar.bz2 |
accel/tcg: Fix undefined shift in store_whole_le16
The computation is documented as unused in this case,
but triggers an ubsan error:
../accel/tcg/ldst_atomicity.c.inc:837:33: runtime error: shift exponent -32 is negative
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../accel/tcg/ldst_atomicity.c.inc:837:33 in
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230606171629.98157-1-richard.henderson@linaro.org>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions