[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    post mortem
From:       wheeler () kde ! org (Scott Wheeler)
Date:       2005-01-30 23:05:30
Message-ID: 200501302305.49995.wheeler () kde ! org
[Download RAW message or body]

On Sunday 30 January 2005 22:27, Jonas Sundstr?m wrote:
> Scott Wheeler <wheeler@kde.org> wrote:
>  ...
>
> > Given the trace that you gave my guess would be that
> > your C-string that you're passing to the TagLib::String
> > constructor is actually invalid.
>
> Would it be wrong to pass on a UTF8 encoded
> pathname to the FileRef constructor?

Well, no -- if the system locale is utf8.  But that has little to do with 
memory corruption.

By memory corruption I mean that whatever string that you're passing in -- 
whatever "char *" is likely no longer valid.  It's been freed or isn't 
properly terminated or something of the sort.

-Scott

-- 
Stupidity is the basic building block of the universe.
--Frank Zappa
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic