Browse Source

Add null check in Http2Session::RecvAltSvc

pull/24/head
wolfbeast 3 years ago committed by Roy Tam
parent
commit
96cb9e1c39
  1. 1
      netwerk/protocol/http/Http2Session.cpp

1
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));

Loading…
Cancel
Save