Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
ImageMagick.29424
ImageMagick-CVE-2017-15281.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-15281.patch of Package ImageMagick.29424
Index: ImageMagick-6.8.8-1/coders/psd.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/psd.c 2017-12-12 11:05:16.897064353 +0100 +++ ImageMagick-6.8.8-1/coders/psd.c 2017-12-12 11:05:28.409263092 +0100 @@ -1661,6 +1661,8 @@ static Image *ReadPSDImage(const ImageIn (double) psd_info.columns,(double) psd_info.rows,(double) psd_info.channels,(double) psd_info.depth,ModeToString((PSDImageType) psd_info.mode)); + if (EOFBlob(image) != MagickFalse) + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); /* Initialize image. */ @@ -1767,6 +1769,8 @@ static Image *ReadPSDImage(const ImageIn /* If we are only "pinging" the image, then we're done - so return. */ + if (EOFBlob(image) != MagickFalse) + ThrowReaderException(CorruptImageError,"UnexpectedEndOfFile"); if (image_info->ping != MagickFalse) { (void) CloseBlob(image);
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