Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2362?usp=email )
Change subject: openvpn: unload providers before freeing the options ...................................................................... openvpn: unload providers before freeing the options uninit_early() passes the --providers names to crypto_unload_provider(), but uninit_options() has already freed them along with the options gc. Call uninit_early() first. Change-Id: Ia6731f4e8ebe8b5ac78ec17045b515b6cc9ea016 Signed-off-by: Razvan Cojocaru <[email protected]> Acked-by: Frank Lichtenheld <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2362 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg42097.html Signed-off-by: Gert Doering <[email protected]> --- M src/openvpn/openvpn.c 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/openvpn.c b/src/openvpn/openvpn.c index 2278266..d9a7c85 100644 --- a/src/openvpn/openvpn.c +++ b/src/openvpn/openvpn.c @@ -330,9 +330,9 @@ } while (signal_reset(c.sig, SIGUSR1) == SIGUSR1); env_set_destroy(c.es); + uninit_early(&c); uninit_options(&c.options); gc_reset(&c.gc); - uninit_early(&c); } while (signal_reset(c.sig, SIGHUP) == SIGHUP); } -- To view, visit https://gerrit.openvpn.net/c/openvpn/+/2362?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ia6731f4e8ebe8b5ac78ec17045b515b6cc9ea016 Gerrit-Change-Number: 2362 Gerrit-PatchSet: 2 Gerrit-Owner: Răzvan Cojocaru <[email protected]> Gerrit-Reviewer: Arne Schwabe <[email protected]> Gerrit-Reviewer: Frank Lichtenheld <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
