Gerald Pfeifer : wininet: Increase buffer in _test_status_code to avoid potential potential overflow.
Module: wine Branch: master Commit: 3cb027c7436d0299c5179fb1e19fa1416e0ca6f1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3cb027c7436d0299c5179fb1e1... Author: Gerald Pfeifer <gerald(a)pfeifer.com> Date: Sun Oct 2 12:15:40 2016 +0200 wininet: Increase buffer in _test_status_code to avoid potential potential overflow. Signed-off-by: Gerald Pfeifer <gerald(a)pfeifer.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wininet/tests/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index fc68fe1..f2fe25c 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -200,7 +200,7 @@ static BOOL proxy_active(void) static void _test_status_code(unsigned line, HINTERNET req, DWORD excode, BOOL is_todo) { DWORD code, size, index; - char exbuf[10], bufa[10]; + char exbuf[12], bufa[10]; WCHAR bufw[10]; BOOL res;
participants (1)
-
Alexandre Julliard