[PATCH 0/3] misc code cleanup
Shawn Hoffman
godisgovernment at gmail.com
Fri Apr 24 20:59:22 CEST 2020
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
More information about the WireGuard
mailing list