• Max Kellermann's avatar
    lib/icu/Win32: paranoid-ify the buffer length checks · 99afe8e6
    Max Kellermann authored
    Passing `length+1` to `MultiByteToWideChar()` means the function may
    fill the whole buffer with output data, and could theoretically
    overwrite the null terminator.  In practice, this will never happen,
    but this way, it's slightly more correct.
    
    Also, null-terminate after `MultiByteToWideChar()`, after we got the
    real output length.  Again, this would never have been a problem, but
    who knows...
    99afe8e6
Name
Last commit
Last update
..
alsa Loading commit data...
cdio Loading commit data...
chromaprint Loading commit data...
crypto Loading commit data...
curl Loading commit data...
dbus Loading commit data...
expat Loading commit data...
ffmpeg Loading commit data...
gcrypt Loading commit data...
icu Loading commit data...
nfs Loading commit data...
oss Loading commit data...
pcre Loading commit data...
pulse Loading commit data...
smbclient Loading commit data...
sndio Loading commit data...
sqlite Loading commit data...
systemd Loading commit data...
upnp Loading commit data...
xiph Loading commit data...
yajl Loading commit data...
zlib Loading commit data...