Thanks for the report. Fixed slightly differently here https://git.zx2c4.com/wintun/commit/?id=b19c7abd417e62dbb08a8d3aa4db96ce9cfd0830
- [PATCH 1/3] fix possible TunDispatchSecurityDescriptor ... Shawn Hoffman
- [PATCH 2/3] use ExEnterCriticalRegionAndAcquireRes... Shawn Hoffman
- Re: [PATCH 2/3] use ExEnterCriticalRegionAndAc... Shawn Hoffman
- Re: [PATCH 2/3] use ExEnterCriticalRegionA... Jason A. Donenfeld
- [PATCH 3/3] use RtlSubAuthoritySid instead of dire... Shawn Hoffman
- Re: [PATCH 3/3] use RtlSubAuthoritySid instead... Jason A. Donenfeld
- Re: [PATCH 1/3] fix possible TunDispatchSecurityDe... Jason A. Donenfeld
