Bug 104219 - rgb888amsb will scribble on memory
rgb888amsb will scribble on memory
Product: Red Hat Linux
Classification: Retired
Component: gdk-pixbuf (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Owen Taylor
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-09-11 08:30 EDT by Pete Nishimoto
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-11 08:44:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pete Nishimoto 2003-09-11 08:30:23 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):

How reproducible:

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.

Additional info:
Comment 1 Owen Taylor 2003-09-11 08:44:37 EDT
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:


Note You need to log in before you can comment on or make changes to this bug.