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

Process crashing when loading this PNG image #23

Open
Agamnentzar opened this issue Jun 29, 2020 · 2 comments
Open

Process crashing when loading this PNG image #23

Agamnentzar opened this issue Jun 29, 2020 · 2 comments

Comments

@Agamnentzar
Copy link
Contributor

Agamnentzar commented Jun 29, 2020

Crashes when loading this PNG using readPngFile, probably need to update libpng to latest version.

Platform: Windows 10

Exception code=0xc0000005 flags=0x0 at 0x00007FFB873E5420. Access violation - attempting to read data at address 0x0000025A63466000

image:
fail

@Prior99
Copy link
Owner

Prior99 commented Jul 23, 2020

Hi, I upgraded libpng to 1.6.37, but this still fails. I added a simple regression test with your image on this branch. But the upgrade did not fix this issue. What version of libpng was used to encode this image?

@Agamnentzar
Copy link
Contributor Author

I got this image set to my website by random user, they must have used some broken encoding program. I did have someone try latest libpng and it indeed failed to decode this image. I think the latest libpng at least doesn't crash on it though. Not sure what is used by browsers to decode it successfully.

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

2 participants