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-8349.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-8349.patch of Package ImageMagick.29424
diff --git a/coders/sfw.c b/coders/sfw.c index ecc97e9..c149510 100644 --- a/coders/sfw.c +++ b/coders/sfw.c @@ -261,7 +261,10 @@ static Image *ReadSFWImage(const ImageInfo *image_info,ExceptionInfo *exception) count=ReadBlob(image,(size_t) GetBlobSize(image),buffer); if ((count != (ssize_t) GetBlobSize(image)) || (LocaleNCompare((char *) buffer,"SFW",3) != 0)) - ThrowReaderException(CorruptImageError,"ImproperImageHeader"); + { + buffer=(unsigned char *) RelinquishMagickMemory(buffer); + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); + } (void) CloseBlob(image); /* Find the start of the JFIF data
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