Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/96
  • Loading branch information
Cristy committed Jan 25, 2016
1 parent d95b619 commit f8c318d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/meta.c
Expand Up @@ -461,7 +461,7 @@ static ssize_t parse8BIM(Image *ifile, Image *ofile)

next=0;
outputlen += len;
while (len--)
while (len-- > 0)
(void) WriteBlobByte(ofile,(unsigned char) token[next++]);

if (outputlen & 1)
Expand Down Expand Up @@ -492,7 +492,7 @@ static ssize_t parse8BIM(Image *ifile, Image *ofile)
outputlen += 5;
next=0;
outputlen += len;
while (len--)
while (len-- > 0)
(void) WriteBlobByte(ofile,(unsigned char) token[next++]);
}
}
Expand Down

0 comments on commit f8c318d

Please sign in to comment.