|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] tests/plugins: fix use-after-free bug |
Date: | Mon, 11 Mar 2024 09:26:15 +0100 |
User-agent: | Mozilla Thunderbird |
On 11/3/24 09:16, Paolo Bonzini wrote:
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> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- contrib/plugins/howvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |