wininet: Increase buffer in _test_status_code to avoid potential potential overflow.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gerald Pfeifer 2016-10-02 12:15:40 +02:00 committed by Alexandre Julliard
parent cf48fbcf36
commit 3cb027c743
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ static BOOL proxy_active(void)
static void _test_status_code(unsigned line, HINTERNET req, DWORD excode, BOOL is_todo) static void _test_status_code(unsigned line, HINTERNET req, DWORD excode, BOOL is_todo)
{ {
DWORD code, size, index; DWORD code, size, index;
char exbuf[10], bufa[10]; char exbuf[12], bufa[10];
WCHAR bufw[10]; WCHAR bufw[10];
BOOL res; BOOL res;