Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
src/sys/windows/named_pipe.rs: most-fixed (3 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Memory Safety: Inadequate tracking of overlapping asynchronous I/O operations and incorrect Arc reference counting upon named pipe deregistration leads to use-after-free conditions. This occurs when IOCP events arrive after the pipe has been deregistered, resulting in premature memory deallocation.
Use After Free: A race condition occurs in connection handling because reference counts are cloned after initiating asynchronous overlapped operations instead of before, exposing a window where the underlying object can be deallocated before the operation completes.
Denial of Service: Unexpected state transitions in Windows named pipe event handling trigger an unreachable!() macro panic, causing the entire runtime process to terminate when untrusted or unexpected inputs drive state machine anomalies.