diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 20:41:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 21:13:02 +0100 |
commit | 92da838efc86c40c78fb6e993b937117b6393af7 (patch) | |
tree | a04bdf9521ae6d9d575906181138d46eb2fec575 /oox | |
parent | 106d1621119b919b7f88d1ca34223ac3ba7d7909 (diff) |
coverity#1079343 Uninitialized pointer field
Change-Id: I05ec88144273c15181e9afa8f616b0ab11695f04
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/crypto/CryptTools.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/oox/source/crypto/CryptTools.cxx b/oox/source/crypto/CryptTools.cxx index 6994ca42f4ae..1d8a432ae2b8 100644 --- a/oox/source/crypto/CryptTools.cxx +++ b/oox/source/crypto/CryptTools.cxx @@ -16,8 +16,13 @@ namespace core { using namespace std; -Crypto::Crypto(CryptoType type) : - mType(type) +Crypto::Crypto(CryptoType type) + : mType(type) +#if USE_TLS_NSS + , mContext(NULL) + , mSecParam(NULL) + , mSymKey(NULL) +#endif { #if USE_TLS_NSS // Initialize NSS, database functions are not needed |