]> git.ipfire.org Git - thirdparty/openvpn.git/commit
add support for %lu in argv_printf and prevent ASSERT
authorAntonio Quartulli <a@unstable.cc>
Sat, 23 Jun 2018 02:11:47 +0000 (10:11 +0800)
committerGert Doering <gert@greenie.muc.de>
Sat, 23 Jun 2018 11:41:07 +0000 (13:41 +0200)
commite38d3a004195f33c5c04fe7c04db5d66c53241bc
tree443a7c013160a1b2fbe6ed6bab2020c43665648b
parentc5108260b3699ab01638452ef3c9bef5193e265a
add support for %lu in argv_printf and prevent ASSERT

%lu is not supported by our tiny argv_printf implementation, therefore
it will trigger an ASSERT() when parsing it at route.c:1638.

Add support for '%lu' in argv_print() and prevent the ASSERT from being
triggered.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20180623021147.22792-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17115.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/argv.c