fixed uninitialised memory read in GxsReputation

This commit is contained in:
csoler 2017-03-04 21:20:34 +01:00
parent dec5c5c4b4
commit d3cdd15e3f

View File

@ -166,6 +166,7 @@ p3GxsReputation::p3GxsReputation(p3LinkMgr *lm)
mLastReputationConfigSaved = 0; mLastReputationConfigSaved = 0;
mChanged = false ; mChanged = false ;
mMaxPreventReloadBannedIds = 0 ; // default is "never" mMaxPreventReloadBannedIds = 0 ; // default is "never"
mLastCleanUp = time(NULL) ;
} }
const std::string GXS_REPUTATION_APP_NAME = "gxsreputation"; const std::string GXS_REPUTATION_APP_NAME = "gxsreputation";