Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:A
ImageMagick
ImageMagick-CVE-2016-7534.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2016-7534.patch of Package ImageMagick
--- a/magick/quantum-import.c +++ b/magick/quantum-import.c @@ -1398,7 +1398,7 @@ static void ImportCbYCrYQuantum(const Image *image,QuantumInfo *quantum_info, n=0; quantum=0; - for (x=0; x < (ssize_t) number_pixels; x+=2) + for (x=0; x < (ssize_t) number_pixels; x+=4) { for (i=0; i < 4; i++) { diff --git a/magick/quantum.c b/magick/quantum.c index ceefbba..91f1558 100644 --- a/magick/quantum.c +++ b/magick/quantum.c @@ -321,6 +321,9 @@ MagickExport size_t GetQuantumExtent(const Image *image, case BGRAQuantum: packet_size=4; break; case CMYKQuantum: packet_size=4; break; case CMYKAQuantum: packet_size=5; break; + case CbYCrAQuantum: packet_size=4; break; + case CbYCrQuantum: packet_size=3; break; + case CbYCrYQuantum: packet_size=4; break; default: break; } extent=MagickMax(image->columns,image->rows);
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