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:
parent
cf48fbcf36
commit
3cb027c743
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue