Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
GraphicsMagick.8039
GraphicsMagick-CVE-2017-13066.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GraphicsMagick-CVE-2017-13066.patch of Package GraphicsMagick.8039
Index: GraphicsMagick-1.3.25/coders/pict.c =================================================================== --- GraphicsMagick-1.3.25.orig/coders/pict.c 2017-05-15 12:53:56.367268618 +0200 +++ GraphicsMagick-1.3.25/coders/pict.c 2017-05-15 12:52:23.241649780 +0200 @@ -1086,7 +1086,10 @@ static Image *ReadPICTImage(const ImageI { ReadPixmap(pixmap); if (!ValidatePixmap(pixmap)) + { + DestroyImage(tile_image); ThrowPICTReaderException(CorruptImageError,ImproperImageHeader,image); + } tile_image->matte=pixmap.component_count == 4; } if ((code != 0x9a) && (code != 0x9b)) @@ -1138,10 +1141,16 @@ static Image *ReadPICTImage(const ImageI } ReadRectangle(source); if (!ValidateRectangle(source)) + { + DestroyImage(tile_image); ThrowPICTReaderException(CorruptImageError,ImproperImageHeader,image); + } ReadRectangle(destination); if (!ValidateRectangle(destination)) + { + DestroyImage(tile_image); ThrowPICTReaderException(CorruptImageError,ImproperImageHeader,image); + } (void) ReadBlobMSBShort(image); if ((code == 0x91) || (code == 0x99) || (code == 0x9b)) {
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