Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/96
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jan 25, 2016
1 parent 5cafb43 commit 97c9f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/meta.c
Expand Up @@ -460,7 +460,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 @@ -491,7 +491,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 97c9f43

Please sign in to comment.