diff options
author | Chris Wilson <[email protected]> | 2017-07-20 18:45:32 +0100 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-07-21 17:45:26 +0300 |
commit | 967003bb2cae121d345fd807eb757d9422229713 (patch) | |
tree | 1cf7ce3b548fd15af9c564d7bd2c0a5d6306ce99 /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions