[PATCH 0/3] tests/tcg/plugins: Fix sanitizer issues

Peter Maydell posted 3 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260305161531.1774895-1-peter.maydell@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>
tests/tcg/plugins/mem.c   | 95 +++++++++++++++++----------------------
tests/tcg/plugins/patch.c |  2 +-
2 files changed, 42 insertions(+), 55 deletions(-)
[PATCH 0/3] tests/tcg/plugins: Fix sanitizer issues
Posted by Peter Maydell 1 month, 1 week ago
This patchset fixes some minor issues in the tests/tcg/plugins
code which the sanitizers detected.

Patch 1 is the one I sent earlier today, and has been reviewed.
Patches 2 and 3 are new.

thanks
-- PMM


Peter Maydell (3):
  tests/tcg/plugins/mem: Don't access unaligned memory
  tests/tcg/plugins/mem: Correct hash iteration code in plugin_exit()
  tests/tcg/plugins/patch: Free read_data in patch_hwaddr()

 tests/tcg/plugins/mem.c   | 95 +++++++++++++++++----------------------
 tests/tcg/plugins/patch.c |  2 +-
 2 files changed, 42 insertions(+), 55 deletions(-)

-- 
2.43.0
Re: [PATCH 0/3] tests/tcg/plugins: Fix sanitizer issues
Posted by Pierrick Bouvier 1 month, 1 week ago
On 3/5/26 8:15 AM, Peter Maydell wrote:
> This patchset fixes some minor issues in the tests/tcg/plugins
> code which the sanitizers detected.
> 
> Patch 1 is the one I sent earlier today, and has been reviewed.
> Patches 2 and 3 are new.
> 
> thanks
> -- PMM
> 
> 
> Peter Maydell (3):
>    tests/tcg/plugins/mem: Don't access unaligned memory
>    tests/tcg/plugins/mem: Correct hash iteration code in plugin_exit()
>    tests/tcg/plugins/patch: Free read_data in patch_hwaddr()
> 
>   tests/tcg/plugins/mem.c   | 95 +++++++++++++++++----------------------
>   tests/tcg/plugins/patch.c |  2 +-
>   2 files changed, 42 insertions(+), 55 deletions(-)
> 

Thanks Peter,
I'll pick up this in next PR.