diff options
author | midipix <writeonce@midipix.org> | 2019-08-29 10:14:34 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-29 10:14:34 +0000 |
commit | 1da90790a17f62183380bfea0f894d5a3cd33e50 (patch) | |
tree | ea7fbcb52956bf81190623f1d196fc54c211806c | |
parent | 037eededf5ded2062da4f2668765b77fdd25960f (diff) | |
download | ntapi-1da90790a17f62183380bfea0f894d5a3cd33e50.tar.bz2 ntapi-1da90790a17f62183380bfea0f894d5a3cd33e50.tar.xz |
__ntapi_tt_array_convert_utf16_to_utf8(): remove arrv init requirement.
-rw-r--r-- | src/argv/ntapi_tt_array_utf16.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/argv/ntapi_tt_array_utf16.c b/src/argv/ntapi_tt_array_utf16.c index 6235606..d035ad4 100644 --- a/src/argv/ntapi_tt_array_utf16.c +++ b/src/argv/ntapi_tt_array_utf16.c @@ -294,6 +294,7 @@ int32_t __stdcall __ntapi_tt_array_convert_utf16_to_utf8( warrv++; } + *arrv = 0; *bytes_written = (size_t)(ch - (uint8_t *)buffer); return NT_STATUS_SUCCESS; |