-
Notifications
You must be signed in to change notification settings - Fork 253
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
encode buffer overflow #75
Comments
建议用 valgrind 在你能出错的环境做个测试。最好能提供 MWE 最小工作案例。 |
谢谢,我找到了问题。 是因为代码中在判断 buffer 是否够的时候使用了 见相关提交。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果先 encode 其它的,在 encode 这个有问题的就没问题。怀疑
expand_buffer
没起作用,可能是 data 刚好写满触发了哪里的临界条件。The text was updated successfully, but these errors were encountered: