Skip to content

Commit

Permalink
Patched libpng to address CVE-2019-7317
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Mar 18, 2019
1 parent 9c748be commit 00171ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 3rdparty/libpng/png.c
Original file line number Diff line number Diff line change
Expand Up @@ -4588,8 +4588,7 @@ png_image_free(png_imagep image)
if (image != NULL && image->opaque != NULL &&
image->opaque->error_buf == NULL)
{
/* Ignore errors here: */
(void)png_safe_execute(image, png_image_free_function, image);
png_image_free_function(image);
image->opaque = NULL;
}
}
Expand Down

0 comments on commit 00171ca

Please sign in to comment.