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

return value of recv should be ssize_t #87

Merged
merged 2 commits into from Feb 7, 2014
Merged

return value of recv should be ssize_t #87

merged 2 commits into from Feb 7, 2014

Conversation

dismantl
Copy link

@dismantl dismantl commented Feb 6, 2014

reqlen should be ssize_t (signed), not size_t (unsigned). daemon.c:722 checks if reqlen < 0, which currently can never be true.

jheretic added a commit that referenced this pull request Feb 7, 2014
return value of recv should be ssize_t
@jheretic jheretic merged commit f9780b9 into linux-fixes Feb 7, 2014
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.

None yet

2 participants