From 5715a00c8c4fa22055e57f6f30b1fef203ae6972 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Tue, 25 Sep 2018 22:53:09 -0400 Subject: backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer --- netwerk/socket/nsSOCKSIOLayer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'netwerk') diff --git a/netwerk/socket/nsSOCKSIOLayer.cpp b/netwerk/socket/nsSOCKSIOLayer.cpp index 22f5751fb..5429637c1 100644 --- a/netwerk/socket/nsSOCKSIOLayer.cpp +++ b/netwerk/socket/nsSOCKSIOLayer.cpp @@ -229,6 +229,7 @@ nsSOCKSSocketInfo::nsSOCKSSocketInfo() , mDataLength(0) , mReadOffset(0) , mAmountToRead(0) + , mFD(nullptr) , mVersion(-1) , mDestinationFamily(AF_INET) , mFlags(0) -- cgit v1.2.3