gnome-libs-0.99.5



I successfully compiled gnome-libs-0.99.5 on the following platforms:

sparc-sun-solaris2.6

All went well, except for "gnome-gen-mimedb" coring upon "make
install".  The problem appears to be because line 822 of
gnome-data/mime-magic contains a name that is longer than
sizeof(GnomeMagicEntry.mimetype).  Looks like a case of C programmer's
disease.

I think that the culprit is a broken vsnprintf in solaris 2.6 (called
by glib/gutils.c).  It appears to be overflowing even though it's
arguments are sunsible, and the "array" variable in the
gnome-magic.c:gnome_magic_parse gets clobbered.

This is v1.1.14 of lib.

hack^H^H^H^HWorkaround:
shorten line 822 of gnome-data/mime-magic.
-- 
Sam Vilain, sam@whoever.com         work: sam.vilain@unisys.com
http://www.hydro.gen.nz                home: sam@hydro.gen.nz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]