Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ImageMagick.18391
ImageMagick-CVE-2019-15139.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-15139.patch of Package ImageMagick.18391
Index: ImageMagick-6.8.8-1/coders/xwd.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/xwd.c 2019-09-05 11:44:42.708548462 +0200 +++ ImageMagick-6.8.8-1/coders/xwd.c 2019-09-05 11:44:43.012550172 +0200 @@ -243,6 +243,8 @@ static Image *ReadXWDImage(const ImageIn ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if (header.xoffset >= header.pixmap_width) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); + if ((MagickSizeType) header.xoffset >= GetBlobSize(image)) + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); switch (header.visual_class) { case StaticGray: @@ -693,6 +695,7 @@ ModuleExport size_t RegisterXWDImage(voi entry->encoder=(EncodeImageHandler *) WriteXWDImage; #endif entry->magick=(IsImageFormatHandler *) IsXWD; + entry->seekable_stream=MagickTrue; entry->adjoin=MagickFalse; entry->description=ConstantString("X Windows system window dump (color)"); entry->module=ConstantString("XWD");
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