mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1026506 - Uninitialised value use in mozilla::dom::FileIOObject::OnInputStreamReady. r=bent.mozilla.
This commit is contained in:
parent
03ca1fb58a
commit
3e53c2f99b
@ -157,7 +157,7 @@ FileIOObject::OnInputStreamReady(nsIAsyncInputStream* aStream)
|
||||
rv = DoAsyncWait(aStream);
|
||||
}
|
||||
|
||||
if (!aCount || NS_FAILED(rv)) {
|
||||
if (NS_FAILED(rv) || !aCount) {
|
||||
if (rv == NS_BASE_STREAM_CLOSED) {
|
||||
rv = NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user