mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 253190 Crash if .pac file lists multiple proxies, in a malformed way
r+sr=darin
This commit is contained in:
parent
68b5461029
commit
d21bcccd72
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user