fix typos

Signed-off-by: Johan Van de Wauw <johan@gisky.be>
This commit is contained in:
Johan Van de Wauw
2022-03-08 23:53:12 +01:00
parent dfd7da8f92
commit 850283a2d5
+1 -1
View File
@@ -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 {