-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
sendname bug #31
Comments
thanks, fix it |
Closed
Closed
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
skynet_server.c:624
if (des == 0) {
free(data);
skynet_error(context, "Drop message to %s", addr);
return session;
}
这里可能会free不是在堆上分配的数据.
patch:
int dontcopy = type & PTYPE_TAG_DONTCOPY;
if (dontcopy) {
free(data)
}
The text was updated successfully, but these errors were encountered: