2019-02-11 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'RDWaveFile' class that could cause a segfault
	when opening a file containing a null ID3 tag.
This commit is contained in:
Fred Gleason 2019-02-11 09:00:30 -05:00
parent 409382a88d
commit 34f970ee79
2 changed files with 6 additions and 0 deletions

View File

@ -18470,3 +18470,6 @@
2019-02-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcatchd(8) that could cause invalid filenames
to be generated for temporary files.
2019-02-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'RDWaveFile' class that could cause a segfault
when opening a file containing a null ID3 tag.

View File

@ -3473,6 +3473,9 @@ void RDWaveFile::ReadId3Metadata()
}
bool using_rdxl=false;
TagLib::FileRef tagref(wave_file.name().toUtf8());
if(tagref.file()==NULL) {
return;
}
TagLib::PropertyMap tags=tagref.file()->properties();
//