summaryrefslogtreecommitdiffstats
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
parente3508f55bed8a463d298021633dbc7d079c9d764 (diff)
downloadUXP-5715a00c8c4fa22055e57f6f30b1fef203ae6972.tar
UXP-5715a00c8c4fa22055e57f6f30b1fef203ae6972.tar.gz
UXP-5715a00c8c4fa22055e57f6f30b1fef203ae6972.tar.lz
UXP-5715a00c8c4fa22055e57f6f30b1fef203ae6972.tar.xz
UXP-5715a00c8c4fa22055e57f6f30b1fef203ae6972.zip
backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer
-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 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)