aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coverage/compare_gcov_json.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-04-29 09:59:08 +0200
committerPeter Maydell <peter.maydell@linaro.org>2024-04-30 15:45:37 +0100
commitafdc29b4a3a5a61c22342551bb38eea3731bfee1 (patch)
tree7120f355271c31556c667050a4f1076234282707 /scripts/coverage/compare_gcov_json.py
parenthw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields (diff)
downloadqemu-afdc29b4a3a5a61c22342551bb38eea3731bfee1.tar.xz
qemu-afdc29b4a3a5a61c22342551bb38eea3731bfee1.zip
hw/char/stm32l4x5_usart: Fix memory corruption by adding correct class_size
"make check-qtest-aarch64" recently started failing on FreeBSD builds, and valgrind on Linux also detected that there is something fishy with the new stm32l4x5-usart: The code forgot to set the correct class_size here, so the various class_init functions in this file wrote beyond the allocated buffer when setting the subc->type field. Fixes: 4fb37aea7e ("hw/char: Implement STM32L4x5 USART skeleton") Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20240429075908.36302-1-thuth@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions