Bug#347428: gdm seg.faults on certain gecos fields

Martin Samuelsson debianbts at cos.user.lysator.liu.se
Tue Jan 10 16:35:37 UTC 2006


Package: gdm
Version: 2.8.0.6-2

When using a GraphicalTheme with a list and having gecos fields that are
not valid UTF-8, gdm crashes. It only seems to happen on names where the
second last character is non-valid. Like for example "Sture Ström" encoded
as ISO-8859-1.

It is the applications responsability to make sure strings passed to
g_markup_escape_text() are valid UTF-8, according to the documentation at:

http://www.gtk.org/api/2.6/glib/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text

Before calling that function on line 139 in greeter_item_ulist.c, gdm
should make sure usr->gecos is valid.
--
/Martin





More information about the Pkg-gnome-maintainers mailing list