tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 082b7d7ffae978ee4048007427fdfa0548bf413f
parent 9da2faf14fa1582fa407b04ee76e8d500c81da15
Author: Byron Campen <docfaraday@gmail.com>
Date:   Fri, 31 Oct 2025 14:37:31 +0000

Bug 1997294: This can be null in rare cases. r=mjf

Differential Revision: https://phabricator.services.mozilla.com/D270701

Diffstat:
Mnetwerk/sctp/datachannel/DataChannel.cpp | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/netwerk/sctp/datachannel/DataChannel.cpp b/netwerk/sctp/datachannel/DataChannel.cpp @@ -1665,7 +1665,9 @@ void DataChannel::SetMaxMessageSize(double aMaxMessageSize) { ("%p: DataChannel has updated its maximum message size. Synchronously " "informing mainthread RTCDataChannel.", this)); - mMainthreadDomDataChannel->SetMaxMessageSize(aMaxMessageSize); + if (mMainthreadDomDataChannel) { + mMainthreadDomDataChannel->SetMaxMessageSize(aMaxMessageSize); + } } }