aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPawel Moll <[email protected]>2012-06-08 14:04:06 +0100
committerMike Turquette <[email protected]>2012-06-25 16:51:48 -0700
commitbf47b4fd8f9f81cd5ce40e1945c6334d088226d1 (patch)
tree2bec386cffb13652e45cd9e4bca533744a492209 /tools/perf/util/scripting-engines/trace-event-python.c
parent7975059db572eb47f0fb272a62afeae272a4b209 (diff)
clk: Check parent for NULL in clk_change_rate
clk_change_rate() is accessing parent's rate without checking if the parent exists at all. In case of root clocks this will cause NULL pointer dereference. This patch follows what clk_calc_new_rates() does in such situation. Signed-off-by: Pawel Moll <[email protected]> Signed-off-by: Mike Turquette <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions