diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-23 10:50:55 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-23 10:50:55 +0200 |
commit | cb762d71af8bf7ab7e69468d2d91167c1e7d8ab7 (patch) | |
tree | e0c13f118878f1d5d7d9a050d34354132f6b852f /netwerk/protocol/http | |
parent | 245bbebbc248151a335c8ab78f3e30438a808379 (diff) | |
download | UXP-cb762d71af8bf7ab7e69468d2d91167c1e7d8ab7.tar UXP-cb762d71af8bf7ab7e69468d2d91167c1e7d8ab7.tar.gz UXP-cb762d71af8bf7ab7e69468d2d91167c1e7d8ab7.tar.lz UXP-cb762d71af8bf7ab7e69468d2d91167c1e7d8ab7.tar.xz UXP-cb762d71af8bf7ab7e69468d2d91167c1e7d8ab7.zip |
Add null check in Http2Session::RecvAltSvc
Diffstat (limited to 'netwerk/protocol/http')
-rw-r--r-- | netwerk/protocol/http/Http2Session.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netwerk/protocol/http/Http2Session.cpp b/netwerk/protocol/http/Http2Session.cpp index 86e8c74f6..726b39f74 100644 --- a/netwerk/protocol/http/Http2Session.cpp +++ b/netwerk/protocol/http/Http2Session.cpp @@ -2182,6 +2182,7 @@ Http2Session::RecvAltSvc(Http2Session *self) } if (NS_FAILED(self->SetInputFrameDataStream(self->mInputFrameID)) || + !self->mInputFrameDataStream || !self->mInputFrameDataStream->Transaction() || !self->mInputFrameDataStream->Transaction()->RequestHead()) { LOG3(("Http2Session::RecvAltSvc %p got frame w/o origin on invalid stream", self)); |