From 0342576d8e72f7a1a2047f1aa6b0cef95f0423c8 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Sun, 21 Jun 2020 13:55:08 +0100 Subject: [PATCH] Always initialise CServer::bRecorderInitialised. Previously it was only set in the constructor if recording was enabled, which resulted in uninitialised reads in CServerDlg. --- src/server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.cpp b/src/server.cpp index 612f3426..267a311f 100755 --- a/src/server.cpp +++ b/src/server.cpp @@ -241,6 +241,7 @@ CServer::CServer ( const int iNewMaxNumChan, Logging ( iMaxDaysHistory ), iFrameCount ( 0 ), JamRecorder ( strRecordingDirName ), + bRecorderInitialised ( false ), bEnableRecording ( false ), bWriteStatusHTMLFile ( false ), HighPrecisionTimer ( bNUseDoubleSystemFrameSize ),