Bug 3920 - dbus-viewer crashes while introspecting recursive nodes
Summary: dbus-viewer crashes while introspecting recursive nodes
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Havoc Pennington
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 00:56 UTC by Daniel Stone
Modified: 2006-08-01 10:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description FreeDesktop Bugzilla Database Corruption Fix User 2005-07-31 00:56:44 UTC
The order of arguments in one of the dbus_g_proxy_call invocations in
dbus-viewer.c is wrong.  Here is the patch:

Index: dbus-viewer.c
===================================================================
RCS file: /cvs/dbus/dbus/tools/dbus-viewer.c,v
retrieving revision 1.14
diff -u -c -r1.14 dbus-viewer.c
cvs diff: conflicting specifications of output style
*** dbus-viewer.c	6 Jul 2005 21:27:45 -0000	1.14
--- dbus-viewer.c	30 Jul 2005 14:55:56 -0000
***************
*** 182,189 ****
          }
    
        if (!dbus_g_proxy_call (proxy, "Introspect", error,
- 			      G_TYPE_STRING, &data,
  			      G_TYPE_INVALID,
  			      G_TYPE_INVALID))
  	  goto done;
        
--- 182,189 ----
          }
    
        if (!dbus_g_proxy_call (proxy, "Introspect", error,
  			      G_TYPE_INVALID,
+ 			      G_TYPE_STRING, &data,
  			      G_TYPE_INVALID))
  	  goto done;
Comment 1 Havoc Pennington 2005-08-01 00:58:51 UTC
Applied, thanks


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.