Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
xen.8005
CVE-2015-8504-qemut-vnc-avoid-floating-point-ex...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2015-8504-qemut-vnc-avoid-floating-point-exception.patch of Package xen.8005
References: bsc#958493 CVE-2015-8504 Index: xen-4.4.3-testing/tools/qemu-xen-traditional-dir-remote/vnc.c =================================================================== --- xen-4.4.3-testing.orig/tools/qemu-xen-traditional-dir-remote/vnc.c +++ xen-4.4.3-testing/tools/qemu-xen-traditional-dir-remote/vnc.c @@ -1634,15 +1634,15 @@ static void set_pixel_format(VncState *v } vs->clientds = vs->serverds; - vs->clientds.pf.rmax = red_max; + vs->clientds.pf.rmax = red_max ? red_max : 0xFF; count_bits(vs->clientds.pf.rbits, red_max); vs->clientds.pf.rshift = red_shift; vs->clientds.pf.rmask = red_max << red_shift; - vs->clientds.pf.gmax = green_max; + vs->clientds.pf.gmax = green_max ? green_max : 0xFF; count_bits(vs->clientds.pf.gbits, green_max); vs->clientds.pf.gshift = green_shift; vs->clientds.pf.gmask = green_max << green_shift; - vs->clientds.pf.bmax = blue_max; + vs->clientds.pf.bmax = blue_max ? blue_max : 0xFF; count_bits(vs->clientds.pf.bbits, blue_max); vs->clientds.pf.bshift = blue_shift; vs->clientds.pf.bmask = blue_max << blue_shift;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor