Skip to content

Added a fail-safe check if images in the buffer contains PNG's magic fixing issue #33#44

Open
Shin-Aska wants to merge 1 commit intofoliojs:masterfrom
Shin-Aska:master
Open

Added a fail-safe check if images in the buffer contains PNG's magic fixing issue #33#44
Shin-Aska wants to merge 1 commit intofoliojs:masterfrom
Shin-Aska:master

Conversation

@Shin-Aska
Copy link

There is a bug in the algorithm on how PNG.load works where if you load a file that is not a PNG. It stucks in a loop. This pull request will fix that.

…number. If it does not, automatically returns a corrupt error
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.

1 participant