Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash with invalid WAV files (taglib#1163)
With specially crafted WAV files having the "id3 " chunk as the only valid chunk, when trying to write the tags, the existing "id3 " chunk is removed, and then vector::front() is called on the now empty chunks vector. Now it is checked if the vector is empty to avoid the crash.
- Loading branch information