]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/sdvo: Don't write stack garbage into the hbuf
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 9 Apr 2019 14:40:53 +0000 (17:40 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Jun 2019 17:41:27 +0000 (20:41 +0300)
commit016cebba49e88c16994e2dc84f3f206b4dabf6e8
tree49063bf2a55232a614d86fba8dd8b65444fa138a
parente86bdb1912a1452c136a2b984fc94d1b732882df
drm/i915/sdvo: Don't write stack garbage into the hbuf

Pass the length returned by hdmi_infoframe_pack_only() to
intel_sdvo_write_infoframe() so that we don't end up writing
stack garbage into the hbuf.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190409144054.24561-7-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_sdvo.c