Summary: | Unsafe mp3 file opening | ||
---|---|---|---|
Product: | [Frameworks and Libraries] taglib | Reporter: | Romain Beauxis <toots> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Test program |
Description
Romain Beauxis
2007-12-13 03:14:27 UTC
Created attachment 22517 [details]
Test program
I forgot to precise I'm using the C bindings.. Also, as a relative issue, taglib can't detect mp3 when they do not have the mp3 extension, and return NULL... It would be nice if the library could autodetect mp3 tags based on the file's content.. The returned pointer is not unsafe in anyway. You can use it all taglib_file_* calls and taglib_file_tag and taglib_file_audioproperties will return NULL. What's missing is a C wrapper for file->isValid(). SVN commit 766868 by wheeler: Add a C accessor to isValid() BUG:153944 M +5 -0 tag_c.cpp M +7 -0 tag_c.h WebSVN link: http://websvn.kde.org/?view=rev&revision=766868 |