Closed dblohm7 closed 1 year ago
…yDescriptor
unsafe.Sizeof(windows.SECURITY_DESCRIPTOR{}) is the minimum length of the SD, not the actual length. Use the actual length for computing the length of the slice.
This path also removes getSecurityDescriptorLength, which is no longer used.
@microsoft-github-policy-service agree company="Tailscale Inc."
…yDescriptor
unsafe.Sizeof(windows.SECURITY_DESCRIPTOR{}) is the minimum length of the SD, not the actual length. Use the actual length for computing the length of the slice.
This path also removes getSecurityDescriptorLength, which is no longer used.