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

stb_image: fix: load invalid JPEGs #1608 #37

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

cocoa-xu
Copy link
Member

This PR tries to fix an upstream issue nothings/stb#1608, as stbi__process_marker returns 0 when the image is corrupted (with bad markers), so I believe that we should also return 0 from here.

@cocoa-xu cocoa-xu merged commit c69768e into main Mar 17, 2024
6 checks passed
@cocoa-xu cocoa-xu deleted the cx/fix-loading-invalid-jpeg branch March 17, 2024 19:57
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

Successfully merging this pull request may close these issues.

None yet

2 participants