Bug 253190 Crash if .pac file lists multiple proxies, in a malformed way

r+sr=darin
This commit is contained in:
cbiesinger%web.de 2004-07-28 22:03:27 +00:00
parent 68b5461029
commit d21bcccd72

View File

@ -476,6 +476,8 @@ static const char kProxyType_DIRECT[] = "direct";
const char * const char *
nsProtocolProxyService::ExtractProxyInfo(const char *start, PRBool permitHttp, nsProxyInfo **result) nsProtocolProxyService::ExtractProxyInfo(const char *start, PRBool permitHttp, nsProxyInfo **result)
{ {
*result = nsnull;
// see BNF in nsIProxyAutoConfig.idl // see BNF in nsIProxyAutoConfig.idl
// find end of proxy info delimiter // find end of proxy info delimiter