Hah, the wonders of format strings... a gift that kees giving...

Haven't tested this, just stared at it for a bit.  Heiko owns that code,
and if he's happy with it (especially the "%ls" bit is something I wouldn't
know about), perfect.

This said, isn't that basically just a wide-something-strncpy()?  Wide-
string to wide-string...?

Your patch has been applied to the master and release/2.7 branch.

commit 173dcf5609e54cbfbde0058e50e0c50fe4adae5c (master)
commit 4e66cd9d7e0c3ee138ac049cc49e74d6ff185433 (release/2.7)
Author: Razvan Cojocaru
Date:   Tue Nov 3 21:02:24 2026 +0100

     openvpnserv: don't use registry default as format string

     Signed-off-by: Razvan Cojocaru <[email protected]>
     Acked-by: Heiko Hund <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2110
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg40655.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

Reply via email to