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 <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL: https://sourceforge.net/p/openvpn/mailman/message/59168247/
URL: https://gerrit.openvpn.net/c/openvpn/+/928
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel