From: Felix Dörre Date: Sat, 21 Feb 2015 00:48:52 +0000 (+0100) Subject: Fix: uninitialized fields X-Git-Url: https://code.wpia.club/?a=commitdiff_plain;ds=sidebyside;h=cbaea9cfa01351920e7c131332051dda09718ae4;p=cassiopeia.git Fix: uninitialized fields --- diff --git a/src/io/recordHandler.cpp b/src/io/recordHandler.cpp index c46c845..67214e3 100644 --- a/src/io/recordHandler.cpp +++ b/src/io/recordHandler.cpp @@ -38,7 +38,9 @@ public: std::vector serials; RecordHandlerSession( DefaultRecordHandler* parent, std::shared_ptr signer, std::shared_ptr ctx, std::shared_ptr output ) : - tbs( new TBSCertificate() ) { + sessid( 0 ), + lastCommandCount( 0 ), + tbs( new TBSCertificate() ){ this->parent = parent; this->signer = signer; time_t c_time;