mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1083922 - Doom entry when parsing security info fails, r=mcmanus
This commit is contained in:
parent
f9bec9b983
commit
8a33c83778
@ -3614,6 +3614,7 @@ nsHttpChannel::OpenCacheInputStream(nsICacheEntry* cacheEntry, bool startBufferi
|
||||
LOG(("failed to parse security-info [channel=%p, entry=%p]",
|
||||
this, cacheEntry));
|
||||
NS_WARNING("failed to parse security-info");
|
||||
cacheEntry->AsyncDoom(nullptr);
|
||||
return rv;
|
||||
}
|
||||
|
||||
@ -3625,6 +3626,7 @@ nsHttpChannel::OpenCacheInputStream(nsICacheEntry* cacheEntry, bool startBufferi
|
||||
LOG(("mCacheEntry->GetSecurityInfo returned success but did not "
|
||||
"return the security info [channel=%p, entry=%p]",
|
||||
this, cacheEntry));
|
||||
cacheEntry->AsyncDoom(nullptr);
|
||||
return NS_ERROR_UNEXPECTED; // XXX error code
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user