From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2011-02-25 22:55:52
|
https://bugzilla.gnome.org/show_bug.cgi?id=643337 gnome-perl | Gtk2 | unspecified Summary: GC new_with_values() non-hashref segv Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=181954) View: https://bugzilla.gnome.org/attachment.cgi?id=181954 Review: https://bugzilla.gnome.org/review?bug=643337&attachment=181954 patch and test case I accidentally called Gtk2::Gdk::GC->new_with_values() with a string instead of a hashref and got some glib warnings and segv. I think the GdkGCValuesMask passed down to gdk_gc_new_with_values() in that case ends up uninitialized garbage. It'd be good to avoid trouble by at least zeroing out in that case, per attached. Unless an error for a non-hashref arg would be better. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |