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

Fixed SECURITY_DESCRIPTOR serialization #15

Conversation

calebstewart
Copy link
Contributor

This fix wraps the SECURITY_DESCRIPTOR structure in a FWP_BYTE_BLOB
structure to adhere to the documentation. I also corrected my tab/space usage
from the previous merge (really, I just ran go fmt).

Relevant Documentation

This would fix #13.

@danderson
Copy link
Member

Thanks for catching! Could you rebase the change onto the current upstream, so there's no merge commit? I suspect github would do the right thing on a rebase merge, but I'd rather not have to force-push to clean up the commit history if it gets it wrong.

This fix wraps the SECURITY_DESCRIPTOR structure in a FWP_BYTE_BLOB
structure to adhere to the documentation.

Signed-off-by: Caleb Stewart <caleb.stewart94@gmail.com>
@calebstewart calebstewart force-pushed the fix/13/security_descriptor_serialization branch from 479023a to 1c1d05c Compare December 4, 2021 06:19
@calebstewart
Copy link
Contributor Author

No problem! Should be all cleaned up now!

@danderson danderson merged commit 86aaea0 into tailscale:main Dec 4, 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
Development

Successfully merging this pull request may close these issues.

Incorrect Serialization of SECURITY_DESCRIPTOR field
2 participants