All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Bernhard Beschow <shentey@gmail.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 14:32:33 +0200	[thread overview]
Message-ID: <877bwpu526.fsf@pond.sub.org> (raw)
In-Reply-To: <1C757C57-9134-4C72-8034-DEC70FFD25FB@gmail.com> (Bernhard Beschow's message of "Mon, 20 Oct 2025 10:30:37 +0000")

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?  If not, should I use
<shentey@gmail.com>?



  reply	other threads:[~2025-10-20 12:33 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 [this message]
2025-10-20 17:27     ` Bernhard Beschow
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=877bwpu526.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=shentey@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.