Skip to content
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

Forward maximum image size to decoder plugins #1220

Open
farindk opened this issue Jul 4, 2024 · 0 comments
Open

Forward maximum image size to decoder plugins #1220

farindk opened this issue Jul 4, 2024 · 0 comments

Comments

@farindk
Copy link
Contributor

farindk commented Jul 4, 2024

Currently, libheif checks the ispe image size against the security limit. However, this does not catch the case when the ispe content is fake and not matching the encoded image data. We would have to pass the maximum image size to the decoder plugin and in each plugin check the compressed image size before actually starting the decoding. This is only possible if the decoding library supports this.

farindk added a commit that referenced this issue Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant