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

Fix buffer overflow in foo2hbpl1 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DestyNova
Copy link

foo2hbpl1 stopped working for me and was segfaulting on anything I tried to print. Some debugging narrowed it down to a buffer overflow of the image array defined on line 606 of foo2hbpl1.c.
I don't really understand what's going on in that file, but (almost) doubling the buffer size seems to have fixed the problem.

The git repo includes a bunch of binary files so they were updated too, but they should probably be added to the .gitignore (I've started one that ignores all .o files).

…anything for me.

There's also a ton of binaries and auto-generated files that should be added to .gitignore
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