From: Gisle Vanem Date: Mon, 2 Jan 2017 16:17:51 +0000 (+0100) Subject: Crash in options.c X-Git-Tag: v2.5_beta1~766 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F77%2Fhead;p=thirdparty%2Fopenvpn.git Crash in options.c When compiling with --disable-crypto, openvpn would crash on --help as commit 5d429efd97 introduce and extra %d into the "usage_message" string but forgot to add it to the #ifndef ENABLE_CRYPTO fprintf() call. Acked-by: Gert Doering Message-Id: <9d41f9dd-a587-5c1e-2e0d-ebb6c921f4ae@yahoo.no> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13808.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/options.c b/src/openvpn/options.c index bfedb6ae0..5df2dba27 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -4080,6 +4080,7 @@ usage(void) fprintf(fp, usage_message, title_string, o.ce.connect_retry_seconds, + o.ce.connect_retry_seconds_max, o.ce.local_port, o.ce.remote_port, TUN_MTU_DEFAULT, TAP_MTU_EXTRA_DEFAULT, o.verbosity);