]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Crash in options.c 66/head 77/head
authorGisle Vanem <gvanem@yahoo.no>
Mon, 2 Jan 2017 16:17:51 +0000 (17:17 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 4 Jan 2017 07:30:40 +0000 (08:30 +0100)
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 <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/options.c

index bfedb6ae06e14b26514c6edc462a564fc5b504c6..5df2dba2737a9f94e93dbbcd6b1d5163b0723c2e 100644 (file)
@@ -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);