winhttp: Fix crash when proxy bypass is unset.
This commit is contained in:
parent
3305900894
commit
2b460a6c5a
|
@ -291,6 +291,7 @@ static BOOL should_bypass_proxy(session_t *session, LPCWSTR server)
|
|||
LPCWSTR ptr;
|
||||
BOOL ret = FALSE;
|
||||
|
||||
if (!session->proxy_bypass) return FALSE;
|
||||
ptr = session->proxy_bypass;
|
||||
do {
|
||||
LPCWSTR tmp = ptr;
|
||||
|
|
Loading…
Reference in New Issue