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 upMemory leak on malformed input #28
Comments
This comment has been minimized.
This comment has been minimized.
|
That's an interesting result. Thank you for fuzzing it! I'll check it next week as I'm currently traveling. |
This was referenced Jun 27, 2018
Merged
kornelski
closed this
in
1d052a2
Jul 18, 2018
added a commit
that referenced
this issue
Jul 18, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Shnatsel commentedJun 21, 2018
•
edited
lodepng-rust leaks memory when given malicious input. This issue has been discovered via fuzzing with cargo-fuzz.
Steps to reproduce:
PNG and deflate checksums make fuzzing impossible, so I have modified lodepng-fuzz to disable checksum verification during fuzzing via conditional compilation. lodepng-leak repo currently links against my modified version, which can be found here along with the fuzzing setup. The code right now is rather messy, but it would be nice to get something similar in your repo as well.