Skip to content

Commit

Permalink
Merge pull request #237 from johanvdw/patch-1
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
katiewasnothere committed Mar 10, 2022
2 parents dfd7da8 + 850283a commit 197bc5d
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 197bc5d

Please sign in to comment.