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

Consider revising error handling for large chunks #250

Open
randy408 opened this issue May 15, 2023 · 0 comments
Open

Consider revising error handling for large chunks #250

randy408 opened this issue May 15, 2023 · 0 comments
Labels
API Involves additions and/or changes to the API enhancement New feature or request libpng compat libpng compatibility issue

Comments

@randy408
Copy link
Owner

libpng has merged a patch from Chromium and included it in the v1.6.39 release, making PNG's over the PNG_USER_CHUNK_MALLOC_MAX limit only a benign error, meaning the image can still be displayed despite excessively large metadata chunks: pnggroup/libpng@33de006

The solution is sketchy, "Though it means we do allow libpng to allocate more than PNG_USER_CHUNK_MALLOC_MAX", a better solution should be chosen for spng.

@randy408 randy408 added enhancement New feature or request API Involves additions and/or changes to the API libpng compat libpng compatibility issue labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Involves additions and/or changes to the API enhancement New feature or request libpng compat libpng compatibility issue
Projects
None yet
Development

No branches or pull requests

1 participant