qemu-e2k/contrib/plugins
Paolo Bonzini 732810235f tests/plugins: fix use-after-free bug
rec->count.score is inside rec, which is freed before rec->count.score is.
Reorder the instructions

Reported by Coverity as CID 1539967.

Cc: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-03-20 09:47:16 +01:00
..
cache.c plugins: remove previous n_vcpus functions from API 2024-02-28 09:11:34 +00:00
drcov.c contrib/plugins/drcov: Fix string format 2023-09-07 12:54:17 +02:00
execlog.c contrib/plugins: extend execlog to track register changes 2024-02-28 09:11:42 +00:00
hotblocks.c contrib/plugins/hotblocks: migrate to new per_vcpu API 2024-03-06 12:35:38 +00:00
hotpages.c plugins: fix memory leak while parsing options 2023-07-03 12:51:58 +01:00
howvec.c tests/plugins: fix use-after-free bug 2024-03-20 09:47:16 +01:00
hwprofile.c plugins: fix memory leak while parsing options 2023-07-03 12:51:58 +01:00
lockstep.c contrib/plugins: Close file descriptor on error return 2023-10-31 14:10:21 +00:00
Makefile plugins: fix win plugin tests on cross compile 2023-11-23 14:10:04 +00:00
win32_linker.c plugins: make test/example plugins work on windows 2023-11-08 15:15:23 +00:00