mirror of
https://github.com/taglib/taglib.git
synced 2025-07-19 13:34:19 -04:00
Do bounds checking before assuming that just because we've been told that
there are actually more items that there actually are. BUG:92028 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@359382 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -142,9 +142,15 @@ namespace TagLib {
|
||||
void read();
|
||||
/*!
|
||||
* Parses the body of the tag in \a data with \a count items.
|
||||
* \deprecated Please use the version that doesn't require an item count.
|
||||
*/
|
||||
void parse(const ByteVector &data, uint count);
|
||||
|
||||
/*!
|
||||
* Parses the body of the tag in \a data.
|
||||
*/
|
||||
void parse(const ByteVector &data);
|
||||
|
||||
private:
|
||||
Tag(const Tag &);
|
||||
Tag &operator=(const Tag &);
|
||||
|
Reference in New Issue
Block a user