mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-10-27 05:29:58 -04:00
1 parent
dfd7da8f92
commit
850283a2d5
1 file changed
+1
-1
@@ -87,7 +87,7 @@ func SddlToSecurityDescriptor(sddl string) ([]byte, error) {
|
||||
|
||||
func SecurityDescriptorToSddl(sd []byte) (string, error) {
|
||||
var sddl *uint16
|
||||
// The returned string length seems to including an aribtrary number of terminating NULs.
|
||||
// The returned string length seems to include an arbitrary number of terminating NULs.
|
||||
// Don't use it.
|
||||
err := convertSecurityDescriptorToStringSecurityDescriptor(&sd[0], 1, 0xff, &sddl, nil)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user