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

memory fault #11

Closed
aschr opened this issue Jan 16, 2017 · 1 comment
Closed

memory fault #11

aschr opened this issue Jan 16, 2017 · 1 comment

Comments

@aschr
Copy link

aschr commented Jan 16, 2017

I think in function callback: shouldn't it be
byte* p = (byte*)malloc(length+1);
because later you do
p[length] = '\0';

1technophile added a commit that referenced this issue Jan 16, 2017
1technophile added a commit that referenced this issue Jan 16, 2017
@1technophile
Copy link
Owner

thanks for pointing this!

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