зеркало из https://github.com/mozilla/gecko-dev.git
bug 1136140 - wss inside https proxy null deref r=hurley
This commit is contained in:
Родитель
31e12dccb6
Коммит
57112e3c84
|
@ -1120,9 +1120,9 @@ nsHttpConnection::TakeTransport(nsISocketTransport **aTransport,
|
||||||
// via https) that filter needs to take direct control of the
|
// via https) that filter needs to take direct control of the
|
||||||
// streams
|
// streams
|
||||||
if (mTLSFilter) {
|
if (mTLSFilter) {
|
||||||
nsCOMPtr<nsISupports> ref1(mSocketIn);
|
nsCOMPtr<nsIAsyncInputStream> ref1(mSocketIn);
|
||||||
nsCOMPtr<nsISupports> ref2(mSocketOut);
|
nsCOMPtr<nsIAsyncOutputStream> ref2(mSocketOut);
|
||||||
mTLSFilter->newIODriver(mSocketIn, mSocketOut,
|
mTLSFilter->newIODriver(ref1, ref2,
|
||||||
getter_AddRefs(mSocketIn),
|
getter_AddRefs(mSocketIn),
|
||||||
getter_AddRefs(mSocketOut));
|
getter_AddRefs(mSocketOut));
|
||||||
mTLSFilter = nullptr;
|
mTLSFilter = nullptr;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче