Juan Lang : winhttp: Fix crash when proxy bypass is unset.
Module: wine Branch: master Commit: 2b460a6c5ac63ee9bcd7eff34e2a5a77b13ba574 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b460a6c5ac63ee9bcd7eff34e... Author: Juan Lang <juan.lang(a)gmail.com> Date: Tue Jul 21 11:22:03 2009 -0700 winhttp: Fix crash when proxy bypass is unset. --- dlls/winhttp/session.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c index e1a2b4b..227354d 100644 --- a/dlls/winhttp/session.c +++ b/dlls/winhttp/session.c @@ -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;
participants (1)
-
Alexandre Julliard