Hi, On Wed, Oct 3, 2018 at 12:56 PM Lev Stipakov <lstipa...@gmail.com> wrote:
> Hi, > > Wishlist: openvpn_swprintf() with nul termination guarantee. I try to avoid >> the TCHAR variety be explicit about wide and narrow characters. >> > > Makes sense, at the moment we have 8 swprintf calls all followed by > something like > > > tmp[_countof(tmp)-1] = L'\0'; > That must be me --- nul termination paranoia :) Cant blame, given none of these x[n]printf variants guarantee nul termination in spite of taking the buffer length as an input.. Selva
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel