1.8 beta bugs
Kyle
gonemad at gmail.com
Thu Jul 19 02:23:29 UTC 2012
Hi, most of the File classes will segfault if the filename does not exist.
Mpeg::File is fine
MPEG::File::File(FileName file, bool readProperties,
Properties::ReadStyle propertiesStyle) : TagLib::File(file)
{
d = new FilePrivate;
if(isOpen())
read(readProperties, propertiesStyle);
}
but other filetypes like ogg do not check isOpen() before trying to read
the properties
Vorbis::File::File(FileName file, bool readProperties,
Properties::ReadStyle propertiesStyle) : Ogg::File(file)
{
d = new FilePrivate;
read(readProperties, propertiesStyle);
}
I havent checked all of the classes but i know APE is one of the others
that will crash as well
--
-Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20120718/ea6cb9b8/attachment.html>
More information about the taglib-devel
mailing list