Bug 104219 - rgb888amsb will scribble on memory
Summary: rgb888amsb will scribble on memory
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gdk-pixbuf
Version: 9
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-11 12:30 UTC by Pete Nishimoto
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-09-11 12:44:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Pete Nishimoto 2003-09-11 12:30:23 UTC
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):
gtk+-2.2.1

How reproducible:
Always

Steps to Reproduce:
1.frame buffer must be TRUE_COLOR and have red_mask == 0xff0000
2.run /usr/bin/gnome-theme-manager.  .
3.
    

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 12:44:37 UTC
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:

 http://bugzilla.gnome.org/show_bug.cgi?id=71597


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