Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2016-7516.patch
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2016-7516.patch of Package ImageMagick6
--- a/coders/viff.c +++ b/coders/viff.c @@ -409,6 +409,9 @@ static Image *ReadVIFFImage(const ImageInfo *image_info, image->colors=viff_info.map_columns; if (AcquireImageColormap(image,image->colors) == MagickFalse) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); + if (viff_info.map_rows > + (viff_info.map_rows*bytes_per_pixel*sizeof(*viff_colormap))) + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); viff_colormap=(unsigned char *) AcquireQuantumMemory(image->colors, viff_info.map_rows*bytes_per_pixel*sizeof(*viff_colormap)); if (viff_colormap == (unsigned char *) NULL)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.