Bug 28835

Summary: [patch] fix freed memory access in shadow properties code
Product: dbus Reporter: Dan Williams <dcbw>
Component: GLibAssignee: Colin Walters <walters>
Status: RESOLVED FIXED QA Contact: John (J5) Palmieri <johnp>
Severity: normal    
Priority: medium CC: walters
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: fix use-after-free in shadow prop lookup

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.