File taglib-CVE-2012-1584.patch of Package taglib.495
Index: taglib/toolkit/tbytevector.cpp =================================================================== --- taglib/toolkit/tbytevector.cpp.orig +++ taglib/toolkit/tbytevector.cpp @@ -361,7 +361,7 @@ ByteVector ByteVector::mid(uint index, u ConstIterator endIt; - if(length < 0xffffffff && length + index < size()) + if(length < size() - index) endIt = d->data.begin() + index + length; else endIt = d->data.end();