Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2017-12674.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-12674.patch of Package ImageMagick6
--- a/coders/pdb.c +++ b/coders/pdb.c @@ -572,7 +572,15 @@ static Image *ReadPDBImage(const ImageInfo *image_info,ExceptionInfo *exception) length; num_pad_bytes = (size_t) (comment_offset - TellBlob( image )); - while (num_pad_bytes--) ReadBlobByte( image ); + while (num_pad_bytes-- != 0) + { + int + c; + + c=ReadBlobByte(image); + if (c == EOF) + break; + } /* Read comment.
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
.