Bug 28835 - [patch] fix freed memory access in shadow properties code
Summary: [patch] fix freed memory access in shadow properties code
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: GLib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Colin Walters
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 21:24 UTC by Dan Williams
Modified: 2010-07-01 10:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
fix use-after-free in shadow prop lookup (1022 bytes, text/plain)
2010-06-29 21:24 UTC, Dan Williams
Details

Description Dan Williams 2010-06-29 21:24:59 UTC
Created attachment 36618 [details]
fix use-after-free in shadow prop lookup

If an object registers any shadow property then some property accesses would fail with use-after-free.  The intention of lookup_property_name() was to use the original property name (uscore_name) if there was no shadow property for the uscore_name; that was broken and it should be pretty clear...
Comment 1 Colin Walters 2010-07-01 10:49:40 UTC
Pushed to master, 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.