From 0a65e420123963b781fac645c3193cb69d158bfb Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sat, 16 Aug 2014 14:45:18 +0200 Subject: [PATCH] Fixed potential crash when trying to import Cue Sheet where *all* files are missing: If none of the files exist, we shouldn't try to analyze them. The real problem, however, was a potential NULL-pointer access in the FileAnalyzer thread's destructor code. Thanks to XhmikosR for reporting! --- doc/Changelog.html | 1 + etc/Translation/Blank.ts | 34 +++++++++++++++++++------------ etc/Translation/LameXP_DE.ts | 4 ++++ etc/Translation/LameXP_EN.ts | 6 +++--- etc/Translation/LameXP_ES.ts | 4 ++++ etc/Translation/LameXP_FR.ts | 4 ++++ etc/Translation/LameXP_IT.ts | 4 ++++ etc/Translation/LameXP_KR.ts | 4 ++++ etc/Translation/LameXP_PL.ts | 34 +++++++++++++++++++------------ etc/Translation/LameXP_RU.ts | 4 ++++ etc/Translation/LameXP_SV.ts | 34 +++++++++++++++++++------------ etc/Translation/LameXP_TW.ts | 4 ++++ etc/Translation/LameXP_UK.ts | 4 ++++ etc/Translation/LameXP_ZH.ts | 4 ++++ res/localization/LameXP_DE.qm | Bin 87462 -> 87697 bytes res/localization/LameXP_UK.qm | Bin 90361 -> 91063 bytes res/localization/LameXP_ZH.qm | Bin 59223 -> 59751 bytes src/Config.h | 2 +- src/Dialog_CueImport.cpp | 37 ++++++++++++++++++++++------------ src/Dialog_CueImport.h | 1 - src/LockedFile.cpp | 4 ++-- src/Thread_FileAnalyzer.cpp | 7 +++++-- 22 files changed, 135 insertions(+), 61 deletions(-) diff --git a/doc/Changelog.html b/doc/Changelog.html index 38506b95..f00d19dd 100644 --- a/doc/Changelog.html +++ b/doc/Changelog.html @@ -21,6 +21,7 @@ a:visited { color: #0000EE; }
  • Updated mpg123 decoder to v1.20.1 (2014-06-17), compiled with GCC 4.9.0
  • Updated Vorbis encoder to OggEnc v2.87 (2014-06-24), using libvorbis v1.3.4 and aoTuV b6.03_2014
  • Updated Vorbis decoder to OggDec v1.10.1 (2014-06-25), using libVorbis v1.3.4 +
  • Fixed potential crash in Cue Sheet importer (occurred when *all* input files were missing)
    Changes between v4.09 and v4.10 [2014-06-23]: