mirror of
https://github.com/taglib/taglib.git
synced 2025-07-22 23:14:33 -04:00
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.