[Intel-gfx] [PATCH 6/7] drm/i915/sdvo: Don't write stack garbage into the hbuf

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 9 19:39:24 UTC 2019


Quoting Ville Syrjala (2019-04-09 15:40:53)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> 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 at linux.intel.com>

Ok, write_infoframe 0 extends if len is too short.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list