-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thread panicking in TiffReader::read_image() #2179
Comments
I looked briefly into this and the size calculation in the tiff crate looks right to me. Clearly, it is going wrong somehow, but without the failing image I don't think this is very actionable |
But what can I do to make it not panic instantly? |
I will try to find the image tomorrow 👍🏼 |
I'll also add that while there has been a bunch of effort on fuzzing this crate, that work isn't complete. There are still many places where malicious or malformed input can cause an out-of-memory crash or a panic. At the moment, you may want to look into |
image/src/codecs/tiff.rs
Line 244 in d407e36
I don't know, what path this happened on, because my application iterates over all files in "C:/"
output:
(with RUST_BACKTRACE=full)
code (running in 'some-thread'):
The text was updated successfully, but these errors were encountered: