Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/120
  • Loading branch information
Cristy committed Feb 6, 2016
1 parent cc29fa5 commit bef1e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/wpg.c
Expand Up @@ -1331,7 +1331,7 @@ static Image *ReadWPGImage(const ImageInfo *image_info,
{
ldblk=(ssize_t) ((bpp*image->columns+7)/8);
BImgBuff=(unsigned char *) AcquireQuantumMemory((size_t)
ldblk,sizeof(*BImgBuff));
ldblk+1,sizeof(*BImgBuff));
if (BImgBuff == (unsigned char *) NULL)
goto NoMemory;

Expand Down

0 comments on commit bef1e4f

Please sign in to comment.