qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] ui: vnc: avoid floating point exception


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] ui: vnc: avoid floating point exception
Date: Thu, 3 Dec 2015 13:57:03 +0000

On 3 December 2015 at 13:24, P J P <address@hidden> 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 <address@hidden>
> 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 <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>
> ---
>  ui/vnc.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]