diff options
author | Vicent Marti <tanoku@gmail.com> | 2012-08-28 22:19:08 -0700 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2012-08-28 23:26:00 -0700 |
commit | 0f4c61754bd123b3bee997b397187c9b813ca3e4 (patch) | |
tree | 4278875a298e527b27a4517f5a054b7e2cf87cee /src/win32/utf-conv.h | |
parent | 6813169ac9fe2558e4503f0149f22c5fad9d61c1 (diff) | |
download | libgit2-utf8-win.tar.gz |
Add bounds checking to UTF-8 conversionutf8-win
Diffstat (limited to 'src/win32/utf-conv.h')
-rw-r--r-- | src/win32/utf-conv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/utf-conv.h b/src/win32/utf-conv.h index c0cfffe4e..3bd1549bc 100644 --- a/src/win32/utf-conv.h +++ b/src/win32/utf-conv.h @@ -12,7 +12,7 @@ #define GIT_WIN_PATH (260 + 1) -void git__utf8_to_16(wchar_t *dest, const char *src); +void git__utf8_to_16(wchar_t *dest, size_t length, const char *src); void git__utf16_to_8(char *dest, const wchar_t *src); #endif |