]> WPIA git - cassiopeia.git/commitdiff
Fix: uninitialized fields
authorFelix Dörre <felix@dogcraft.de>
Sat, 21 Feb 2015 00:48:52 +0000 (01:48 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sat, 21 Feb 2015 20:32:27 +0000 (21:32 +0100)
src/io/recordHandler.cpp

index c46c84560d511c0f7ab338804210e27038769600..67214e327496d904e083591a5a29cf662a007446 100644 (file)
@@ -38,7 +38,9 @@ public:
     std::vector<std::string> serials;
 
     RecordHandlerSession( DefaultRecordHandler* parent, std::shared_ptr<Signer> signer, std::shared_ptr<SSL_CTX> ctx, std::shared_ptr<BIO> output ) :
-        tbs( new TBSCertificate() ) {
+        sessid( 0 ),
+        lastCommandCount( 0 ),
+        tbs( new TBSCertificate() ){
         this->parent = parent;
         this->signer = signer;
         time_t c_time;