Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
ImageMagick.17344
ImageMagick-CVE-2019-11506.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-11506.patch of Package ImageMagick.17344
diff --git a/coders/mat.c b/coders/mat.c index ba4425cbe2..1332d18b6f 100644 --- a/coders/mat.c +++ b/coders/mat.c @@ -1695,13 +1695,21 @@ static MagickBooleanType WriteMATImage(const ImageInfo *image_info,Image *image, for (y=0; y < (ssize_t)image->columns; y++) { + size_t + length; + p=GetVirtualPixels(image,y,0,1,image->rows,exception); if (p == (const Quantum *) NULL) break; - (void) ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, + length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, z2qtype[z],pixels,exception); - (void) WriteBlob(image,image->rows,pixels); + if (length != image->columns) + break; + if (WriteBlob(image,image->rows,pixels) != image->rows) + break; } + if (y < (ssize_t) image->columns) + break; if (SyncAuthenticPixels(image,exception) == MagickFalse) break; } while (z-- >= 2);
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