[Bug 513036] New: gnome-games-2.26.1-1.19: array subscript is above array bounds
http://bugzilla.novell.com/show_bug.cgi?id=513036 Summary: gnome-games-2.26.1-1.19: array subscript is above array bounds Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to build Factory package gnome-games-2.26.1-1.19 and the build said about.c:305:2: warning: array subscript is above array bounds The source code is gdk_draw_layout(pixmap, GTK_WIDGET(background)->style->text_gc[5], (250 - rect.width) / 2, loc + l, layout); but /usr/include/gtk-2.0/gtk/gtkstyle.h: GdkGC *text_gc[5]; Clearly broken code. I agree with the compiler. Suggest code rework. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=513036 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=513036 Stephan Binner <binner@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |GNOME -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=513036 User vuntz@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=513036#c1 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |RESOLVED URL| |http://bugzilla.gnome.org/s | |how_bug.cgi?id=590766 CC| |vuntz@novell.com Resolution| |UPSTREAM --- Comment #1 from Vincent Untz <vuntz@novell.com> 2009-08-04 12:10:25 MDT --- Please file such bugs upstream, thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com