From cbaea9cfa01351920e7c131332051dda09718ae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Sat, 21 Feb 2015 01:48:52 +0100 Subject: [PATCH] Fix: uninitialized fields --- src/io/recordHandler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2