13 Jan
2007
13 Jan
'07
1:48 a.m.
On Wed, Jan 10, 2007 at 02:59:24AM -0800, Bryce Harrington wrote:
On Wed, Jan 10, 2007 at 04:40:13AM -0500, bulia byak wrote:
I think these are certainly stoppers:
1575829 Metadata are truncated at 4 chars and add a char 18 hexa
I assigned the latter bug to kees, but I should note that he will be out
With some help from mental, this is now fixed. General warning about using the .c_str() function on Glib::ustring's returned from objects: don't use 'em: they can get trashed on the heap. Instead, use a local Glib::ustring, and call it's .c_str() when you need it.
e.g.
No: char * str = Node->contents().c_str(); do_something( str );
Yes: Glib::ustring str = Node->contents(); do_something( str.c_str() );
--
Kees Cook @outflux.net