Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1599
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jun 18, 2019
1 parent 19651f3 commit 1e59b29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coders/cut.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ static Image *ReadCUTImage(const ImageInfo *image_info,ExceptionInfo *exception)
BImgBuff=(unsigned char *) AcquireQuantumMemory((size_t) ldblk,
sizeof(*BImgBuff)); /*Ldblk was set in the check phase*/
if(BImgBuff==NULL) goto NoMemory;
(void) memset(BImgBuff,0,(size_t) ldblk*sizeof(*BImgBuff));

offset=SeekBlob(image,6 /*sizeof(Header)*/,SEEK_SET);
if (offset < 0)
Expand Down

0 comments on commit 1e59b29

Please # to comment.