aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2019-03-01 10:09:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-01 09:20:38 +0100
commit91d3f8a629849968dc91d6ce54f2d46abf4feb7f (patch)
treeefaddfd4503ff8116b88361b1bf290e1869c97e0 /tools/perf/util/scripting-engines/trace-event-perl.c
parent8c8448792a4940207bc16b84df7580729aa3e247 (diff)
intel_th: gth: Fix an off-by-one in output unassigning
Commit 9ed3f22223c3 ("intel_th: Don't reference unassigned outputs") fixes a NULL dereference for all masters except the last one ("256+"), which keeps the stale pointer after the output driver had been unassigned. Fix the off-by-one. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Fixes: 9ed3f22223c3 ("intel_th: Don't reference unassigned outputs") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions