Bug 5979 - Null pointer dereference in dbus_g_proxy_set_property
Summary: Null pointer dereference in dbus_g_proxy_set_property
Status: RESOLVED DUPLICATE of bug 4637
Alias: None
Product: dbus
Classification: Unclassified
Component: GLib (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: Havoc Pennington
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-21 07:35 UTC by Jim Kent
Modified: 2006-10-25 11:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dbus_g_proxy_set_property_null_deref.patch (849 bytes, patch)
2006-02-21 07:36 UTC, Jim Kent
Details | Splinter Review
dbus_g_proxy_set_property.patch (715 bytes, patch)
2006-02-21 08:06 UTC, Jim Kent
Details | Splinter Review

Description Jim Kent 2006-02-21 07:35:13 UTC
There is a null pointer dereference in the functions dbus_g_proxy_set_property
function if priv->name is NULL.  This bad dereference happens when the proxy has
been created for a peer, in which case priv->name is NULL.
Comment 1 Jim Kent 2006-02-21 07:36:10 UTC
Created attachment 4690 [details] [review]
dbus_g_proxy_set_property_null_deref.patch
Comment 2 Jim Kent 2006-02-21 07:54:40 UTC
Just noticed the .patch file has some cruft at the top:

? po
? test/name-test/.deps
? test/name-test/.libs
? test/name-test/Makefile
? test/name-test/Makefile.in
? test/name-test/test-names

Sorry
Comment 3 Jim Kent 2006-02-21 08:06:22 UTC
Created attachment 4694 [details] [review]
dbus_g_proxy_set_property.patch

updated patch file without the cruft at the top
Comment 4 Rob Taylor 2006-10-25 11:23:52 UTC
This is a subcase of #4637, and needs more than just this patch...

*** This bug has been marked as a duplicate of 4637 ***


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.