Hi, On Sun, Oct 21, 2018 at 6:24 AM Lev Stipakov <lstipa...@gmail.com> wrote: > > From: Lev Stipakov <l...@openvpn.net> > > Every call to swprintf is followed by line which adds nul terminator. This > patch > introduces openvpn_swprintf() which guarantees nul termination for size > 0. > > Same approach as for snprintf / openvpn_snprintf. > > Signed-off-by: Lev Stipakov <l...@openvpn.net> > --- > v2: > - rebase on top of master
Thanks. I like to build and do a quick run test except for very trivial patches. And, building did expose a small issue: > > src/openvpn/buffer.c | 17 +++++++++++++++++ > src/openvpn/buffer.h | 11 +++++++++++ > src/openvpn/tun.c | 3 +-- > src/openvpnserv/common.c | 15 +++++++++++++++ > src/openvpnserv/interactive.c | 18 ++++++------------ > src/openvpnserv/validate.c | 3 +-- > 6 files changed, 51 insertions(+), 16 deletions(-) openvpn_swprintf in common.c has to be declared in one of the headers (service.h?) too. Missing as of now. Should have noticed in the last round... Selva _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel