apply ObjectAttributes fix for certain Windows environments (#280)

Signed-off-by: Robert Carman <robert_carman@rapid7.com>
This commit is contained in:
rcarman-r7
2023-03-16 13:30:07 -04:00
committed by GitHub
parent 2a14e68005
commit 41915dceb0
+1
View File
@@ -279,6 +279,7 @@ func makeServerPipeHandle(path string, sd []byte, c *PipeConfig, first bool) (sy
}
defer localFree(ntPath.Buffer)
oa.ObjectName = &ntPath
oa.Attributes = windows.OBJ_CASE_INSENSITIVE
// The security descriptor is only needed for the first pipe.
if first {