On 3 December 2015 at 13:24, P J P <ppan...@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 <p...@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 <lianyi...@360.cn> > Signed-off-by: Prasad J Pandit <p...@fedoraproject.org> > --- > ui/vnc.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-)
Applied, thanks. -- PMM