2022-09-06 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlogmanager(1) that could cause a segfault when
	merging a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-09-06 15:02:24 -04:00
parent 0599b009f2
commit 87f7975a86
2 changed files with 9 additions and 4 deletions

View File

@@ -23247,3 +23247,6 @@
2022-09-01 Fred Gleason <fredg@paravelsystems.com> 2022-09-01 Fred Gleason <fredg@paravelsystems.com>
* Added icons to the CD rippers in rdlibrary(1) to indicate the * Added icons to the CD rippers in rdlibrary(1) to indicate the
provenance of detected metadata. provenance of detected metadata.
2022-09-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that could cause a segfault when
merging a log.

View File

@@ -2,7 +2,7 @@
// //
// Abstract a Rivendell Log Manager Event // Abstract a Rivendell Log Manager Event
// //
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@@ -1126,9 +1126,11 @@ bool RDEventLine::linkLog(RDLogModel *e,RDLog *log,const QString &svcname,
// //
// Apply Leading Event Values // Apply Leading Event Values
// //
logline->setGraceTime(grace_time); if(logline!=NULL) {
logline->setTimeType(time_type); logline->setGraceTime(grace_time);
logline->setTransType(trans_type); logline->setTimeType(time_type);
logline->setTransType(trans_type);
}
// //
// Clear Leading Event Values // Clear Leading Event Values