diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-08 10:15:19 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-08 10:15:19 +0200 |
commit | a5dfcd2b5325b175401c710ceddcd70355224856 (patch) | |
tree | 56bc02cae04e0bd3f495e156132a33e146c2b556 | |
parent | ringlogger: add a basic CLI log dumping command (diff) | |
download | wireguard-windows-a5dfcd2b5325b175401c710ceddcd70355224856.tar.xz wireguard-windows-a5dfcd2b5325b175401c710ceddcd70355224856.zip |
service: waste a page due to sheer incompetence
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | service/securityapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/securityapi.go b/service/securityapi.go index 1124c497..bf90625f 100644 --- a/service/securityapi.go +++ b/service/securityapi.go @@ -247,7 +247,7 @@ func getSecurityAttributes(mainToken windows.Token, tokenThatHasLogonSession win if err != nil { return nil, err } - newDacl := make([]byte, daclInfo.aclBytesInUse*2) + newDacl := make([]byte, daclInfo.aclBytesInUse*2+0x1000) err = initializeAcl(&newDacl[0], uint32(len(newDacl)), ACL_REVISION) if err != nil { return nil, err |