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 check reply argument type #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

HypenZou
Copy link

if !isExportedOrBuiltinType(argType) || !isExportedOrBuiltinType(replyType) {

这里只检验了reply Argument是否为导出/内置类型, 没有检验其是否为指针
按照net/rpc的接口, 这是无法Register进入services的
是否应该加上检查是否为指针的操作?

@ray7jq
Copy link

ray7jq commented Feb 17, 2022 via email

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.

3 participants