qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bernhard Beschow <shentey@gmail.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, marcandre.lureau@redhat.com
Subject: Re: [PATCH] ui/pixman: Fix crash in qemu_pixman_shareable_free()
Date: Mon, 20 Oct 2025 17:27:18 +0000	[thread overview]
Message-ID: <026FC9CD-543B-4A83-9D1A-0C6F59FF9065@gmail.com> (raw)
In-Reply-To: <877bwpu526.fsf@pond.sub.org>



Am 20. Oktober 2025 12:32:33 UTC schrieb Markus Armbruster <armbru@redhat.com>:
>Bernhard Beschow <shentey@gmail.com> writes:
>
>> Am 13. Oktober 2025 11:21:02 UTC schrieb Markus Armbruster <armbru@redhat.com>:
>>>Reported-by: Bernhard Beschow <shentey@gmail.com>
>>>Fixes: b296b29d3414 (ui/pixman: Consistent error handling in qemu_pixman_shareable_free())
>>>Signed-off-by: Markus Armbruster <armbru@redhat.com>
>>>---
>>> ui/qemu-pixman.c | 4 +++-
>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>
>>>diff --git a/ui/qemu-pixman.c b/ui/qemu-pixman.c
>>>index e46c6232cf..aea09755b9 100644
>>>--- a/ui/qemu-pixman.c
>>>+++ b/ui/qemu-pixman.c
>>>@@ -291,7 +291,9 @@ qemu_pixman_shareable_free(qemu_pixman_shareable handle,
>>>     Error *err = NULL;
>>> 
>>>     qemu_win32_map_free(ptr, handle, &err);
>>>-    error_report_err(err);
>>>+    if (err) {
>>>+        error_report_err(err);
>>>+    }
>>> #else
>>>     qemu_memfd_free(ptr, size, handle);
>>> #endif
>>
>> Thanks for the quick fix, Markus! The patch is reviewed and I've been testing it for a week. Who is going to merge it?
>
>I can do it.
>
>You provided
>
>    Tested-by: Bernhard Beschow
>    Reviewed-by: Bernhard Beschow
>
>without an e-mail address.  Intentional?

Oh, that wasn't intentional.

> If not, should I use <shentey@gmail.com>?

Yes, please.

Best regards,
Bernhard


  reply	other threads:[~2025-10-20 19:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-13 11:21 [PATCH] ui/pixman: Fix crash in qemu_pixman_shareable_free() Markus Armbruster
2025-10-13 11:51 ` Daniel P. Berrangé
2025-10-13 14:11 ` Philippe Mathieu-Daudé
2025-10-13 19:12   ` Bernhard Beschow
2025-10-14 12:52   ` Markus Armbruster
2025-10-20 10:30 ` Bernhard Beschow
2025-10-20 12:32   ` Markus Armbruster
2025-10-20 17:27     ` Bernhard Beschow [this message]
2025-10-21  9:50       ` Markus Armbruster
2025-10-21 17:22         ` Bernhard Beschow

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=026FC9CD-543B-4A83-9D1A-0C6F59FF9065@gmail.com \
    --to=shentey@gmail.com \
    --cc=armbru@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=qemu-devel@nongnu.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).