Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Van de Wauw <johan@gisky.be>
  • Loading branch information
johanvdw committed Mar 8, 2022
1 parent dfd7da8 commit 850283a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sd.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 850283a

Please sign in to comment.