2021-07-20 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlogedit(1) that could cause a segfault when
	attempting to play a non-audio event in the 'Voice Tracker' dialog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-07-20 16:28:53 -04:00
parent dcea823165
commit e15c96481a
2 changed files with 6 additions and 0 deletions

View File

@ -20772,3 +20772,6 @@
* Incremented the package version to 3.6.1.
2021-06-17 Daniel Bair <daniel@danielbair.com>
* Update to support system dark themes 'rdairplay/loglinebox.cpp'.
2021-07-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogedit(1) that could cause a segfault when
attempting to play a non-audio event in the 'Voice Tracker' dialog.

View File

@ -392,6 +392,9 @@ void RDPlayDeck::reset()
void RDPlayDeck::play(unsigned pos,int segue_start,int segue_end,
int duck_up_end)
{
if(play_cut==NULL) {
return;
}
int fadeup;
play_hook_mode=false;
play_cut_gain=play_cut->playGain();