Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
ImageMagick.9293
ImageMagick-CVE-2018-8804.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2018-8804.patch of Package ImageMagick.9293
Index: ImageMagick-6.8.8-1/coders/ept.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/ept.c 2018-03-26 11:23:22.140635524 +0200 +++ ImageMagick-6.8.8-1/coders/ept.c 2018-03-26 11:23:22.328639102 +0200 @@ -415,11 +415,18 @@ static MagickBooleanType WriteEPTImage(c if (write_image == (Image *) NULL) return(MagickFalse); write_info=CloneImageInfo(image_info); + (void) CopyMagickString(write_info->filename,"EPS:",MaxTextExtent); (void) CopyMagickString(write_info->magick,"EPS",MaxTextExtent); if (LocaleCompare(image_info->magick,"EPT2") == 0) - (void) CopyMagickString(write_info->magick,"EPS2",MaxTextExtent); + { + (void) CopyMagickString(write_info->filename,"EPS2:",MaxTextExtent); + (void) CopyMagickString(write_info->magick,"EPS2",MaxTextExtent); + } if (LocaleCompare(image_info->magick,"EPT3") == 0) - (void) CopyMagickString(write_info->magick,"EPS3",MaxTextExtent); + { + (void) CopyMagickString(write_info->filename,"EPS3:",MaxTextExtent); + (void) CopyMagickString(write_info->magick,"EPS3",MaxTextExtent); + } (void) ResetMagickMemory(&ept_info,0,sizeof(ept_info)); ept_info.magick=0xc6d3d0c5ul; ept_info.postscript=(unsigned char *) ImageToBlob(write_info,write_image, Index: ImageMagick-6.8.8-1/coders/ps2.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/ps2.c 2018-03-26 11:23:19.404583466 +0200 +++ ImageMagick-6.8.8-1/coders/ps2.c 2018-03-26 11:23:48.837143444 +0200 @@ -116,6 +116,7 @@ ModuleExport size_t RegisterPS2Image(voi entry->encoder=(EncodeImageHandler *) WritePS2Image; entry->adjoin=MagickFalse; entry->seekable_stream=MagickTrue; + entry->blob_support=MagickFalse; entry->description=ConstantString("Level II Encapsulated PostScript"); entry->mime_type=ConstantString("application/postscript"); entry->module=ConstantString("PS2"); @@ -123,6 +124,7 @@ ModuleExport size_t RegisterPS2Image(voi entry=SetMagickInfo("PS2"); entry->encoder=(EncodeImageHandler *) WritePS2Image; entry->seekable_stream=MagickTrue; + entry->blob_support=MagickFalse; entry->description=ConstantString("Level II PostScript"); entry->mime_type=ConstantString("application/postscript"); entry->module=ConstantString("PS2");
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