aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-10 11:00:29 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-10 17:47:27 +0100
commit64387b613a43713d0e03d9d43bfbb1727e8475e1 (patch)
tree06d3bdfd27694d2d7f588d32a6b9a0876820a989 /tools/perf/scripts/python/event_analyzing_sample.py
parentdrm/i915: Make i915_pipe_crc_read() oops proof (diff)
downloadlinux-64387b613a43713d0e03d9d43bfbb1727e8475e1.tar.gz
linux-64387b613a43713d0e03d9d43bfbb1727e8475e1.zip
drm/i915: Protect against leaks in pipe_crc_set_source
Stupid userspace (there is no evil userspace in debugfs by assumption) might provoke a leak since we allocate the new array without holding any locks. Drop in an unconditional kfree to deal with this - kfree can handle NULL. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions