diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-07-20 18:45:32 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-07-21 17:45:26 +0300 |
commit | 967003bb2cae121d345fd807eb757d9422229713 (patch) | |
tree | 1cf7ce3b548fd15af9c564d7bd2c0a5d6306ce99 /tools/perf/scripts/python/compaction-times.py | |
parent | c11a93f5fd9229dc7c8b90570c75cf70bc3976c2 (diff) |
drm/dp: Don't trust drm_dp_downstream_id()
Before we interpret drm_dp_downstream_id() as a string, make sure it is
NULL terminated, even when drm_dp_downtsream_id() fails.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101660
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170720174532.23377-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions