aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/common/GenerateVersionedFiles.cmake
diff options
context:
space:
mode:
authorPhilipp Kerling <pkerling@casix.org>2018-12-26 21:50:17 +0100
committerPhilipp Kerling <pkerling@casix.org>2018-12-26 21:50:17 +0100
commitfc13c84c0e71ba95c8d7ba8412692e61cfc2a42c (patch)
treed0b2ee767db5aa886380e89170fc854ef8656103 /cmake/scripts/common/GenerateVersionedFiles.cmake
parent2762a102b16f101390479f4e3882cff647afff2f (diff)
[music] Fix unchecked reinterpret_cast of ID3v2 UFID frame
Unlike all other ID3v2 frame types handled in TagLoaderTagLib, the UFID tag is reinterpret_cast to the target type. However, tag loading might fail (e.g. in case the tag is compressed and taglib is compiled without zlib support), which makes the tag dynamic type an ID3v2::UnknownFrame, so the successive access to the owner() function after the cast will trigger a crash. Fix by using dynamic_cast like everywhere else. Fixes #15090.
Diffstat (limited to 'cmake/scripts/common/GenerateVersionedFiles.cmake')
0 files changed, 0 insertions, 0 deletions