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

Add size check #92

Merged
merged 1 commit into from
Dec 14, 2019
Merged

Add size check #92

merged 1 commit into from
Dec 14, 2019

Conversation

knok
Copy link
Contributor

@knok knok commented Jul 8, 2019

#81 seems that caused by size_t overflow.
When invoke img2sixel with POC2, two variables width and height contain 67108864,
so size = (size_t)(width * height), as a result , size = 0.

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.

2 participants