Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH 0/3] misc code cleanup
@ 2020-04-24 18:59 Shawn Hoffman
  2020-04-24 18:59 ` [PATCH 1/3] don't leak TunDispatchSecurityDescriptor if second RtlAbsoluteToSelfRelativeSD fails. practically this can't happen, but from wintun code it's unclear Shawn Hoffman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shawn Hoffman @ 2020-04-24 18:59 UTC (permalink / raw)
  To: wireguard; +Cc: Shawn Hoffman

misc code cleanup. just getting feet wet.

Shawn Hoffman (3):
  don't leak TunDispatchSecurityDescriptor if second
    RtlAbsoluteToSelfRelativeSD fails. practically this can't happen,
    but from wintun code it's unclear.
  use ExEnterCriticalRegionAndAcquireResourceExclusive and
    ExReleaseResourceAndLeaveCriticalRegion
  use RtlSubAuthoritySid instead of directly poking SID

 wintun.c | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

-- 
2.25.0.windows.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-24 20:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 18:59 [PATCH 0/3] misc code cleanup Shawn Hoffman
2020-04-24 18:59 ` [PATCH 1/3] don't leak TunDispatchSecurityDescriptor if second RtlAbsoluteToSelfRelativeSD fails. practically this can't happen, but from wintun code it's unclear Shawn Hoffman
2020-04-24 18:59 ` [PATCH 2/3] use ExEnterCriticalRegionAndAcquireResourceExclusive and ExReleaseResourceAndLeaveCriticalRegion Shawn Hoffman
2020-04-24 18:59 ` [PATCH 3/3] use RtlSubAuthoritySid instead of directly poking SID Shawn Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).