TagLib 1.5 segfaults on one file

Vidar Wahlberg canidae at exent.net
Sun Jan 11 00:38:09 CET 2009

On Sun, Jan 11, 2009 at 12:17:58AM +0100, Scott Wheeler wrote:
> On Jan 10, 2009, at 11:58 PM, Vidar Wahlberg wrote:
>> I don't know if you're
>> guaranteed that "d->text.begin()" never is "d->text.end()" if the type
>> is "Text", though. If this is guaranteed, then the check I added is  
>> not
>> necessary.
> Yes, it is, since the line quoted above checks isEmpty().  If the list  
> is not empty then begin != end.

Ah, I missed the "if(isEmpty()) return data;" in APE::Item::render().
Then all is well, thanks for the help :)

Vidar Wahlberg

More information about the taglib-devel mailing list