I haven't tested it, just stared at the code, and test compiled with mingw. The change itself is straightforward - move the OVERLAPPED structure inside struct tuntap, so it will share the same lifetime (diagnosing this from a crash trying to close tt->hand is more impressive ;-) )
Reference URLs point to the sf.net list archive again, because mail-archive.org is refusing to acknowledge existence of this mail... Your patch has been applied to the master branch. commit f60a49362515a87ccf8db406ef422499adf34eb7 Author: Lev Stipakov Date: Tue Apr 1 20:15:30 2025 +0200 dco-win: Fix crash when cancelling pending operation Signed-off-by: Lev Stipakov <l...@openvpn.net> Acked-by: Gert Doering <g...@greenie.muc.de> Message-Id: <20250401181535.7854-1-g...@greenie.muc.de> URL: https://sourceforge.net/p/openvpn/mailman/message/59168247/ URL: https://gerrit.openvpn.net/c/openvpn/+/928 Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel