diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-09-26 14:01:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 14:01:50 +0200 |
commit | 6297b563deedb5c7c9d2f135c02bc4c1214aacf4 (patch) | |
tree | 3d60b20e915646c15b16f8acc821df0158120e95 /netwerk | |
parent | 326611aaaed36d4d6e44fa77e781ed3e2e43539d (diff) | |
parent | 5715a00c8c4fa22055e57f6f30b1fef203ae6972 (diff) | |
download | UXP-6297b563deedb5c7c9d2f135c02bc4c1214aacf4.tar UXP-6297b563deedb5c7c9d2f135c02bc4c1214aacf4.tar.gz UXP-6297b563deedb5c7c9d2f135c02bc4c1214aacf4.tar.lz UXP-6297b563deedb5c7c9d2f135c02bc4c1214aacf4.tar.xz UXP-6297b563deedb5c7c9d2f135c02bc4c1214aacf4.zip |
Merge pull request #790 from g4jc/nsSOCKSIOLayer_nullptr
backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/socket/nsSOCKSIOLayer.cpp | 1 |
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) |