Confirmed that it crashes without the patch, and does not crash with it. Added a comment, as suggested.
Your patch has been applied to the master and release/2.5 branch (bugfix). commit 19c64f16baebbce966d55c62135d1ef066f7c8c2 (master) commit 4f5e57d2c7ff9384b16c42eb9aa5af11d31f5dd1 (release/2.5) Author: Max Fillinger Date: Wed Nov 23 16:49:12 2022 +0100 Check if pkcs11_cert is NULL before freeing it Signed-off-by: Max Fillinger <maximilian.fillin...@foxcrypto.com> Acked-by: Arne Schwabe <a...@rfc2549.org> Message-Id: <20221123154912.28394-1-maximilian.fillin...@foxcrypto.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25530.html 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