Closed seungwoos closed 4 years ago
@kimddeum say:
Hope this help.
You can set all flags to false
before:
https://github.com/lvandeve/lodepng/blob/9652b36175737fbec20c3cfbfcaaa4b4807ea26f/pngdetail.cpp#L1407
and include them one at a time to clarify the problem.
Thanks for reporting this! Should be fixed with commit https://github.com/lvandeve/lodepng/commit/2febfe0d105822575328759dd950c8a24b0ad6b3
Hi,
I found that pngdetail of commit 9652b36 hangs with the attached PNG file (hang01.png).
Here’s the stacktrace observed by GDB when the program hangs:
I suspect that the execution is stuck in an infinite loop.
This hang was observed on Ubuntu 18.04.3 with kernel 4.15.0-72-generic x86_64. I found this using AFL fuzzer. hang01.png was originated from the PNG samples of AFL-2.52b.
Hope this help.