Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
cups154.3289
str4551.CVE-2014-9679.CUPS-1.5.4.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File str4551.CVE-2014-9679.CUPS-1.5.4.patch of Package cups154.3289
--- filter/raster.c.orig 2011-09-20 20:36:33.000000000 +0200 +++ filter/raster.c 2015-02-17 15:51:05.000000000 +0100 @@ -284,7 +284,10 @@ */ if (!cups_raster_read_header(r)) + { + memset(h, 0, sizeof(cups_page_header_t)); return (0); + } /* * Copy the header to the user-supplied buffer... @@ -313,7 +316,10 @@ */ if (!cups_raster_read_header(r)) + { + memset(h, 0, sizeof(cups_page_header2_t)); return (0); + } /* * Copy the header to the user-supplied buffer... @@ -991,7 +997,7 @@ cups_raster_update(r); - return (r->header.cupsBytesPerLine != 0 && r->header.cupsHeight != 0); + return (r->header.cupsBytesPerLine != 0 && r->header.cupsHeight != 0 && (r->header.cupsBytesPerLine % r->bpp) == 0); }
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