Skip to content
Permalink
Browse files Browse the repository at this point in the history
Prevent memory use after free
  • Loading branch information
Cristy committed Aug 5, 2016
1 parent ddca5f7 commit 5487013
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Expand Up @@ -2,6 +2,9 @@
* Evaluate lazy pixel cache morphology to prevent buffer overflow (bug report
from Ibrahim M. El-Sayed).
* Prevent buffer overflow (bug report from Max Thrane).
* Prevent memory use after free (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30245).


2016-07-30 7.0.2-6 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.2-6, GIT revision 18651:df24175:20160729.
Expand Down
2 changes: 0 additions & 2 deletions coders/pwp.c
Expand Up @@ -247,8 +247,6 @@ static Image *ReadPWPImage(const ImageInfo *image_info,ExceptionInfo *exception)
(void) close(unique_file);
(void) RelinquishUniqueFileResource(read_info->filename);
read_info=DestroyImageInfo(read_info);
(void) CloseBlob(pwp_image);
pwp_image=DestroyImage(pwp_image);
if (EOFBlob(image) != MagickFalse)
{
char
Expand Down

0 comments on commit 5487013

Please sign in to comment.