mirror of
https://github.com/taglib/taglib.git
synced 2026-11-15 19:08:48 -05:00
58499cb157c38b8d07b262b15c4ecba9f36aeb9a
ByteVector::endsWith underflows when the pattern is longer than the receiver. containsAt then uses an addition that can wrap, allowing an out-of-bounds memcmp and a process crash. Reject invalid pattern offsets before subtraction and compare against the remaining receiver length without overflowing.
TagLib
TagLib Audio Metadata Library
TagLib is a library for reading and editing the metadata of several popular audio formats. Currently, it supports various metadata containers such as ID3v1, ID3v2 and Vorbis comments for MP3, MP4, AAC, Ogg, Opus, FLAC, Speex, APE, MPC, WavPack, WAV, AIFF, TrueAudio, Matroska, WebM, ASF, WMA, DSF, DFF and tracker (MOD, XM, S3M, IT) files.
TagLib is distributed under the GNU Lesser General Public License (LGPL) and Mozilla Public License (MPL). Essentially that means that it may be used in proprietary applications, but if changes are made to TagLib they must be contributed back to the project. Please review the licenses if you are considering using TagLib in your project.
Languages
C++
96.6%
CMake
1.8%
C
0.8%
Python
0.5%
Logos
0.3%