From: Peter Maydell <peter.maydell@linaro.org>
To: P J P <ppandit@redhat.com>
Cc: Lian Yihan <lianyihan@360.cn>, Gerd Hoffmann <kraxel@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] ui: vnc: avoid floating point exception
Date: Thu, 3 Dec 2015 13:57:03 +0000 [thread overview]
Message-ID: <CAFEAcA-HZMzMMHOv141z3_mA6+Tad+sqZbBgxOF37JEuUGTaWg@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.20.1512031851550.2326@wniryva>
On 3 December 2015 at 13:24, P J P <ppandit@redhat.com> wrote:
> Hello Peter,
>
> +-- On Thu, 3 Dec 2015, Peter Maydell wrote --+
> | The patch doesn't apply to master. Can you produce a version
> | that does, please?
>
> Please see this new one, hope it works.
>
> ===
> From d4661b8d99f8c8439167d85165439c619553b933 Mon Sep 17 00:00:00 2001
> From: Prasad J Pandit <pjp@fedoraproject.org>
> Date: Thu, 3 Dec 2015 18:47:46 +0530
> Subject: [PATCH] ui: vnc: avoid floating point exception
>
> While sending 'SetPixelFormat' messages to a VNC server,
> the client could set the 'red-max', 'green-max' and 'blue-max'
> values to be zero. This leads to a floating point exception in
> write_png_palette while doing frame buffer updates.
>
> Reported-by: Lian Yihan <lianyihan@360.cn>
> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
> ---
> ui/vnc.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
-- PMM
prev parent reply other threads:[~2015-12-03 13:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-03 11:37 [Qemu-devel] [PATCH] ui: vnc: avoid floating point exception P J P
2015-12-03 12:11 ` Gerd Hoffmann
2015-12-03 12:32 ` Peter Maydell
2015-12-03 13:24 ` P J P
2015-12-03 13:57 ` Peter Maydell [this message]
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=CAFEAcA-HZMzMMHOv141z3_mA6+Tad+sqZbBgxOF37JEuUGTaWg@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=kraxel@redhat.com \
--cc=lianyihan@360.cn \
--cc=ppandit@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).