aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2016-03-10 13:03:18 +0200
committerRafael J. Wysocki <[email protected]>2016-03-10 21:33:16 +0100
commit0d67e0fa1664ad6aaba0552e170608bafb4b6196 (patch)
tree28987f5570ca421359271c4bc22b3dca3f90dd66 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent7781203416ffc4e731619f8a8b93a37599a8f502 (diff)
device property: fix for a case of use-after-free
In device_remove_property_set(), the secondary fwnode needs to be cleared before the pset is freed. This fixes a use-after-free when a property set is providing the primary fwnode. As a result of the fix, the primary fwnode may end up containing ERR_PTR(-ENODEV), so also adding checks for it to the property handling code. Reported-by: John Youn <[email protected]> Signed-off-by: Heikki Krogerus <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions