After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 162388 - Invalid read of size 4 in panel-applet-frame.c
Invalid read of size 4 in panel-applet-frame.c
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
git master
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-28 15:15 UTC by Kjartan Maraas
Modified: 2004-12-30 21:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kjartan Maraas 2004-12-28 15:15:10 UTC
Valgrind reports this:

==7842== Invalid read of size 4
==7842==    at 0x807C393: panel_applet_frame_activated (panel-applet-frame.c:1239)
==7842==    by 0x1C0E9C69: get_async2_cb (bonobo-moniker-util.c:940)
==7842==    by 0x1C0E9A2D: resolve_async_cb (bonobo-moniker-util.c:835)
==7842==    by 0x1C183BEA: async_recv_cb (orbit-small.c:1144)
==7842==    by 0x1C17DE2A: giop_invoke_async (giop.c:577)
==7842==    by 0x1C180A90: giop_connection_handle_input (giop-recv-buffer.c:1105)
==7842==    by 0x1C199F06: link_connection_io_handler (linc-connection.c:1280)
==7842==    by 0x1C19B6AB: link_source_dispatch (linc-source.c:53)
==7842==    by 0x1C22FCFC: IA__g_main_context_dispatch (gmain.c:1947)
==7842==    by 0x1C2315DA: g_main_context_iterate (gmain.c:2578)
==7842==    by 0x1C231A11: IA__g_main_context_iteration (gmain.c:2637)
==7842==    by 0x1C197FBC: link_main_iteration (linc.c:232)
==7842==    by 0x1C17FECB: giop_recv_buffer_get (giop-recv-buffer.c:718)
==7842==    by 0x1C1830A4: ORBit_small_invoke_stub (orbit-small.c:657)
==7842==    by 0x1C183233: ORBit_small_invoke_stub_n (orbit-small.c:575)
==7842==    by 0x1C193550: ORBit_c_stub_invoke (poa.c:2640)
==7842==    by 0x1C1514E1: Bonobo_Unknown_queryInterface (Bonobo_Unknown-stubs.c:39)
==7842==    by 0x1C0E8DD0: bonobo_moniker_util_qi_return (bonobo-moniker-util.c:250)
==7842==    by 0x1CADBC2E: bonobo_moniker_oaf_resolve (bonobo-moniker-oaf.c:68)
==7842==    by 0x1C0E85E9: bonobo_marshal_BOXED__RESOLVEOPTIONS_STRING_BOXED
(bonobo-moniker-simple.c:59)
==7842==    by 0x1C1B9D28: IA__g_closure_invoke (gclosure.c:437)
==7842==    by 0x1C0F74F0: bonobo_closure_invoke_va_list (bonobo-types.c:415)
==7842==    by 0x1C0F76E2: bonobo_closure_invoke (bonobo-types.c:478)
==7842==    by 0x1C0E895E: simple_resolve (bonobo-moniker-simple.c:87)
==7842==    by 0x1C0E7C1D: impl_resolve (bonobo-moniker.c:324)
==7842==    by 0x1C0F7A50: _ORBIT_skel_small_Bonobo_Moniker_resolve
(Bonobo-common.c:82)
==7842==    by 0x1C19350F: ORBit_c_stub_invoke (poa.c:2627)
==7842==    by 0x1C0F9487: Bonobo_Moniker_resolve (Bonobo-stubs.c:80)
==7842==    by 0x1CADB946: bonobo_moniker_item_resolve (bonobo-moniker-item.c:40)
Comment 1 Vincent Untz 2004-12-30 21:52:07 UTC
This should fix it:

2004-12-30  Vincent Untz  <vincent@vuntz.net>

	* panel-applet-frame.c: (panel_applet_frame_activated): fix invalid
	read of size 4. Thanks to Kjartan for finding this.
	Fix bug #162388