Your patch has been applied to the master branch.
I'm not sure I totally like the change to buffer.c/tun.c - for the
single instance where this is called inside openvpn/tun.c, on WIN32,
we now carry around a new function in buffer.c which is compiled
everywhere... possibly breaking older systems that have C99 compliant
C compilers but no full C99 library - like my oldest OpenBSD
buildslave (our mantra on that is "if it breaks for good reasons,
it will be retired, but we shouldn't carelessly break things").
So if we really want to keep this, it should be #ifdef _WIN32 (until
we find good uses for wide-sprintf() on other platforms).
For the service, which is windows-only code, this change is clearly
reasonable and beneficial.
commit 43a5a4f3b4e411419639c195fee8a76495fdc88e
Author: Lev Stipakov
Date: Mon Oct 22 13:19:31 2018 +0300
Introduce openvpn_swprintf() with nul termination guarantee
Signed-off-by: Lev Stipakov <[email protected]>
Acked-by: Selva Nair <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg17786.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel