summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY3
-rw-r--r--dvbdevice.c4
3 files changed, 6 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 4c6380ae..12746d53 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2769,6 +2769,7 @@ Winfried Köhler <w_koehl@gmx.de>
for reporting a bug in handling newline characters in ci.c's CopyString()
for reporting a bug in checking the return value of the Open() call in
cFileName::SetOffset()
+ for adding initialization of cDvbFrontend::frontendInfo
Hans-Werner Hilse <hilse@web.de>
for adding the command line option --userdump to enable core dumps in case VDR
diff --git a/HISTORY b/HISTORY
index b0c3aa8d..6a5ade48 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9536,7 +9536,7 @@ Video Disk Recorder Revision History
cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this
(thanks to Helmut Binder).
-2020-11-28:
+2020-12-05:
- Fixed multiple recording entries in case a recording is started during the initial
reading of the video directory (reported by Claus Muus).
@@ -9548,3 +9548,4 @@ Video Disk Recorder Revision History
- Fixed possible compilation errors with libjpeg (thanks to Bernd Kuhls).
- Fixed "read incomplete section" errors (thanks to Helmut Binder).
- Fixed generating the HashId in cEIT::cEIT() (thanks to Helmut Binder).
+- Added initialization of cDvbFrontend::frontendInfo (thanks to Winfried Köhler).
diff --git a/dvbdevice.c b/dvbdevice.c
index b5153db0..132feef9 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 4.28 2020/11/24 21:19:49 kls Exp $
+ * $Id: dvbdevice.c 4.29 2020/12/05 15:48:40 kls Exp $
*/
#include "dvbdevice.h"
@@ -367,6 +367,8 @@ cDvbFrontend::cDvbFrontend(int Adapter, int Frontend)
frontend = Frontend;
fd_frontend = -1;
subsystemId = cDvbDeviceProbe::GetSubsystemId(adapter, frontend);
+ memset(&frontendInfo, 0, sizeof(frontendInfo));
+ strn0cpy(frontendInfo.name, "???", sizeof(frontendInfo.name));
numModulations = 0;
Open();
QueryDeliverySystems();