Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
ImageMagick
ImageMagick-CVE-2019-19949.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-19949.patch of Package ImageMagick
diff --git a/coders/png.c b/coders/png.c index 84b95c234f..077cc845b1 100644 --- a/coders/png.c +++ b/coders/png.c @@ -8180,8 +8180,11 @@ Magick_png_write_raw_profile(const ImageInfo *image_info,png_struct *ping, unsigned char hex[16]={'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; - if (LocaleNCompare((char *) profile_type+1, "ng-chunk-",9) == 0) - return; + if (length > 1) + { + if (LocaleNCompare((char *) profile_type+1, "ng-chunk-",9) == 0) + return; + } if (image_info->verbose) {
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