Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2016-7519.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2016-7519.patch of Package ImageMagick6
Index: ImageMagick-6.8.9-8/coders/rle.c =================================================================== --- ImageMagick-6.8.9-8.orig/coders/rle.c 2016-10-05 15:01:23.832318090 +0200 +++ ImageMagick-6.8.9-8/coders/rle.c 2016-10-05 15:03:28.198259029 +0200 @@ -307,7 +307,10 @@ static Image *ReadRLEImage(const ImageIn if ((number_pixels*number_planes_filled) != (size_t) (number_pixels*number_planes_filled)) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); pixel_info_length=image->columns*image->rows*number_planes_filled; - pixel_info=AcquireVirtualMemory(pixel_info_length,sizeof(*pixels)); + if (image->rows > (image->rows*number_planes_filled*sizeof(*pixels))) + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); + pixel_info=AcquireVirtualMemory(image->columns,image->rows* + number_planes_filled*sizeof(*pixels)); if (pixel_info == (MemoryInfo *) NULL) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
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
.