Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1561
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Apr 29, 2019
1 parent bbb9a07 commit 34adc98
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions coders/png.c
Expand Up @@ -7948,8 +7948,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)
{
Expand Down

0 comments on commit 34adc98

Please sign in to comment.