Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
memory leak in png_create_info_struct #269
Hi,libpng team. there is a memory leak in the file png.c:368 of function png_create_info_struct.
the asan debug info is as follows:
Direct leak of 360 byte(s) in 1 object(s) allocated from:
SUMMARY: AddressSanitizer: 360 byte(s) leaked in 1 allocation(s).
Yes, pngcp does not call png_destroy_info_struct() in error case. I think this is not a security issue at all.
right, there is a memory leak but the security impact is extremely low if not absent: