[prev in list] [next in list] [prev in thread] [next in thread]
List: taglib-devel
Subject: Re: cstring returning invalid encoding? mp3's
From: rengels <ralf.engels () nokia ! com>
Date: 2009-09-22 11:18:07
Message-ID: 200909221318.07633.ralf.engels () nokia ! com
[Download RAW message or body]
On Tuesday 22 September 2009 01:55:49 am ext Caleb Cushing wrote:
> figured it out 20-ish minutes ago... memory corruption. apparently the
> memory was popping off the stack before the pointer was assigned (or
> something like that). using an intermediate variable.
>
>
> TagLib::String s( tfile.tag()->title() );
> const char *ttitle = s.toCString(true);
>
> has solved this issue.
>
Hi Caleb,
it should not do that.
As tfile does not run out of scope tag and tag->title should also remain valid.
Strange...
BR,
Ralf
_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic