commit | 967003bb2cae121d345fd807eb757d9422229713 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Jul 20 18:45:32 2017 +0100 |
committer | Jani Nikula <jani.nikula@intel.com> | Fri Jul 21 17:45:26 2017 +0300 |
tree | 1cf7ce3b548fd15af9c564d7bd2c0a5d6306ce99 | |
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