diff options
author | Yuval Brik <yuval@brik.org.il> | 2016-02-20 17:42:39 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <saghul@gmail.com> | 2016-03-18 12:30:12 +0100 |
commit | 5dc15cc26956b981b2c4fa6b6b0799e5922cf1d1 (patch) | |
tree | dbaeac359ca9a5b76235db04903893379665b007 /docs/src | |
parent | c7c8e916b86d2b168e97b04d7b4c8913322c8329 (diff) | |
download | libuv-5dc15cc26956b981b2c4fa6b6b0799e5922cf1d1.tar.gz libuv-5dc15cc26956b981b2c4fa6b6b0799e5922cf1d1.zip |
fs: realpath: fix string size before converting
fs__realpath_handle() removes the UNC prefixes \\?\ and \\?\UNC\
from paths returned by GetFinalPathNameByHandle, but doesn't
update the string length before sending it to fs__wide_to_utf8.
Fix that by decrement the correct size from the string length.
PR-URL: https://github.com/libuv/libuv/pull/733
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions