Red Hat Bugzilla – Bug 104219
rgb888amsb will scribble on memory
Last modified: 2007-04-18 12:57:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
When copying source pixels (srow) to the out pixels (orow), if
the architecture is G_LITTLE_ENDIAN, the code erroneously increments
the out pixel buffer (orow) as if it was a byte array (guint8) rather
than as it really is (which is a guint32). The reason why is
a coding bug at the out pixel buffer incrementation -- the
sense of the #ifdef should be "#ifndef LITTLE" and not "#ifdef LITTLE"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.frame buffer must be TRUE_COLOR and have red_mask == 0xff0000
2.run /usr/bin/gnome-theme-manager. .
Actual Results: gnome-theme-manager will core with the following message:
(gnome-theme-manager:2530): GLib-GObject-CRITICAL **: file gobject.c: line
615 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed
This is because the object node has been corrupted
Expected Results: no core would have been nice.
You don't actually say *what* code is doing this, but
assuming you been gdkpixbuf-drawable.c, this should be
fixed as of GTK+-2.2.2. See: