mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1262359 (part 5) - Add a missing rv check for call to nsDataHandler::ParseURI(). r=jduell.
--HG-- extra : rebase_source : 785b8b0bb91c73f6dc4c1b0b237617ff68010819
This commit is contained in:
parent
0af5a36bf5
commit
8232d31724
@ -33,6 +33,8 @@ nsDataChannel::OpenContentStream(bool async, nsIInputStream **result,
|
||||
bool lBase64;
|
||||
rv = nsDataHandler::ParseURI(spec, contentType, &contentCharset,
|
||||
lBase64, &dataBuffer);
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
NS_UnescapeURL(dataBuffer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user