mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 03:19:02 +00:00
SSL_WANT_READ and SSL_WANT_WRITE conditions modify the watched events during NSE_TYPE_CONNECT_SSL, which was causing the IOCP engine to re-post the same completion packet multiple times. Adding a status field to the extended_overlapped struct resolves this. Additionally, canceled and timed-out events risked the same extended_overlapped being freed multiple times, which caused the gh_heap corruption in the original issue report.