We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
telnet 下回复另一个 ID 的帖子,在 add_notification.c 函数中执行到 free 的时候出错。
add_notification.c
free
Debug 显示:
glibc detected free(): invalid next size (fast)
如果此处 title_utf8 换成声明为字符数组,而非通过 malloc() 获取,则提示有关什么 stack smashing detected 的错误。最终指向的是:
title_utf8
malloc()
in __GI_raise at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
初步检查如 stackoverflow 上的这个 QA 显示:
#include <stdlib.h> void foo() { abort(); } int main() { foo(); return 0; }
该代码在调试的时候同样会返回有关 __GI_raise 的错误。
__GI_raise
The text was updated successfully, but these errors were encountered:
做了如下的尝试:
-fPIE
-pie
目前发帖暂不会掉线。有待进一步测试。
Sorry, something went wrong.
可能与 a981004 有关
近一个月没有出现该问题,关闭。
No branches or pull requests
telnet 下回复另一个 ID 的帖子,在
add_notification.c
函数中执行到free
的时候出错。Debug 显示:
如果此处
title_utf8
换成声明为字符数组,而非通过malloc()
获取,则提示有关什么 stack smashing detected 的错误。最终指向的是:初步检查如 stackoverflow 上的这个 QA 显示:
该代码在调试的时候同样会返回有关
__GI_raise
的错误。The text was updated successfully, but these errors were encountered: