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

Improve sending struct passwd #216

Conversation

yuichiro-naito
Copy link

This pull request avoids sending pointer values in struct passwd.
It is possible to be a wild pointer in peer process, if a new pointer member is added.
And I believe that one ToDo comment will be finished.

Background:

I made a patch for FreeBSD's openssh. (c.f. my FreeBSD patch to see what I fixed)
We discussed about pointer values should not be sent to another process.
It is necessary for openssh and I think the ToDo comment says as same as well.

It is possible to be a wild pointer in peer process,
if a new pointer member is added.
@djmdjm
Copy link
Contributor

djmdjm commented Feb 18, 2021

This was fixed in b2bcec1

@djmdjm djmdjm closed this Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants