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

* Fixed a regression in rdairplay(1) that caused a segfault when
	unloading a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-09-27 15:44:02 -04:00
parent 09b3d4c79d
commit 634a837094
2 changed files with 4 additions and 1 deletions

View File

@@ -23399,3 +23399,6 @@
2022-09-27 Fred Gleason <fredg@paravelsystems.com> 2022-09-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) that caused the audio cue * Fixed a regression in rdairplay(1) that caused the audio cue
transport buttons to be continuously grayed-out. transport buttons to be continuously grayed-out.
2022-09-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) that caused a segfault when
unloading a log.

View File

@@ -3229,7 +3229,7 @@ void RDLogPlay::UpdateRestartData()
} }
else { else {
line=nextLine(); line=nextLine();
if(line>=0) { if((line>=0)&&(logLine(line)!=NULL)) {
id=logLine(line)->id(); id=logLine(line)->id();
} }
running="N"; running="N";