From: Thomas Huth <thuth@redhat.com>
To: Dmitry Frolov <frolov@swemel.ru>, alxndr@bu.edu
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
sdl.qemu@linuxtesting.org
Subject: Re: [PATCH] tests/qtest/fuzz: fix memleak in qos_fuzz.c
Date: Thu, 13 Jun 2024 12:04:43 +0200 [thread overview]
Message-ID: <1a06b729-6d28-4c07-a742-4b08de1c8586@redhat.com> (raw)
In-Reply-To: <20240521103106.119021-3-frolov@swemel.ru>
On 21/05/2024 12.31, Dmitry Frolov wrote:
> Found with fuzzing for qemu-8.2, but also relevant for master
>
> Signed-off-by: Dmitry Frolov <frolov@swemel.ru>
> ---
> tests/qtest/fuzz/qos_fuzz.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/qtest/fuzz/qos_fuzz.c b/tests/qtest/fuzz/qos_fuzz.c
> index b71e945c5f..d3839bf999 100644
> --- a/tests/qtest/fuzz/qos_fuzz.c
> +++ b/tests/qtest/fuzz/qos_fuzz.c
> @@ -180,6 +180,7 @@ static void walk_path(QOSGraphNode *orig_path, int len)
>
> fuzz_path_vec = path_vec;
> } else {
> + g_string_free(cmd_line, true);
> g_free(path_vec);
> }
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2024-06-13 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-21 10:31 [PATCH] tests/qtest/fuzz: fix memleak in qos_fuzz.c Dmitry Frolov
2024-06-11 12:31 ` Дмитрий Фролов
2024-06-13 10:04 ` Thomas Huth [this message]
2024-06-13 15:55 ` Alexander Bulekov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1a06b729-6d28-4c07-a742-4b08de1c8586@redhat.com \
--to=thuth@redhat.com \
--cc=alxndr@bu.edu \
--cc=frolov@swemel.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=sdl.qemu@linuxtesting.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).