Skip to content
Permalink
Browse files

#280

  • Loading branch information...
Cristy
Cristy committed Sep 30, 2016
1 parent 3c57527 commit a7bb158b7bedd1449a34432feb3a67c8f1873bfa
Showing with 1 addition and 1 deletion.
  1. +1 −1 MagickCore/profile.c
@@ -2032,7 +2032,7 @@ MagickBooleanType SyncExifProfile(Image *image,StringInfo *profile)
break; /* corrupt EXIF */
tag_value=(ssize_t) ReadProfileShort(endian,q);
format=(ssize_t) ReadProfileShort(endian,q+2);
if ((format-1) >= EXIF_NUM_FORMATS)
if ((format < 0) || ((format-1) >= EXIF_NUM_FORMATS))
break;
components=(ssize_t) ReadProfileLong(endian,q+4);
if (components < 0)

0 comments on commit a7bb158

Please sign in to comment.
You can’t perform that action at this time.