Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2016-7538.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2016-7538.patch of Package ImageMagick6
--- a/coders/psd.c +++ b/coders/psd.c @@ -2542,9 +2542,12 @@ static void RemoveICCProfileFromResourceBlock(StringInfo *bim_profile) p=PushLongPixel(MSBEndian,p,&count); if (id == 0x0000040f) { - (void) CopyMagickMemory(q,q+PSDQuantum(count)+12,length- - (PSDQuantum(count)+12)-(q-datum)); - SetStringInfoLength(bim_profile,length-(PSDQuantum(count)+12)); + if ((q+PSDQuantum(count)+12) < (datum+length-16)) + { + (void) CopyMagickMemory(q,q+PSDQuantum(count)+12,length- + (PSDQuantum(count)+12)-(q-datum)); + SetStringInfoLength(bim_profile,length-(PSDQuantum(count)+12)); + } break; } p+=count;
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
.