mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
This commit is contained in:
+5
-1
@@ -1663,7 +1663,11 @@ static size_t GetIPTCStream(unsigned char **info,size_t length)
|
||||
return(tag_length);
|
||||
}
|
||||
if ((tag_length & 0x01) != 0)
|
||||
tag_length++;
|
||||
{
|
||||
tag_length++;
|
||||
if (tag_length > extent)
|
||||
break;
|
||||
}
|
||||
p+=(ptrdiff_t) tag_length;
|
||||
extent-=tag_length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user