Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
ImageMagick.29977
ImageMagick-CVE-2018-16323.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2018-16323.patch of Package ImageMagick.29977
Index: ImageMagick-6.8.8-1/coders/xbm.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/xbm.c 2018-09-03 10:50:41.521305755 +0200 +++ ImageMagick-6.8.8-1/coders/xbm.c 2018-09-03 10:51:07.977432290 +0200 @@ -352,7 +352,10 @@ static Image *ReadXBMImage(const ImageIn { c=XBMInteger(image,hex_digits); if (c < 0) - break; + { + data=(unsigned char *) RelinquishMagickMemory(data); + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); + } *p++=(unsigned char) c; if ((padding == 0) || (((i+2) % bytes_per_line) != 0)) *p++=(unsigned char) (c >> 8); @@ -362,7 +365,10 @@ static Image *ReadXBMImage(const ImageIn { c=XBMInteger(image,hex_digits); if (c < 0) - break; + { + data=(unsigned char *) RelinquishMagickMemory(data); + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); + } *p++=(unsigned char) c; }
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