summaryrefslogtreecommitdiff
path: root/netwerk/socket
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-09-25 22:53:09 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-09-25 22:53:09 -0400
commit5715a00c8c4fa22055e57f6f30b1fef203ae6972 (patch)
tree54022a96f7b2b71b1ea847868daf7578d2edeea7 /netwerk/socket
parente3508f55bed8a463d298021633dbc7d079c9d764 (diff)
downloaduxp-5715a00c8c4fa22055e57f6f30b1fef203ae6972.tar.gz
backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer
Diffstat (limited to 'netwerk/socket')
-rw-r--r--netwerk/socket/nsSOCKSIOLayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/netwerk/socket/nsSOCKSIOLayer.cpp b/netwerk/socket/nsSOCKSIOLayer.cpp
index 22f5751fbe..5429637c1c 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)