summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-08-06 20:32:16 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-08 14:04:46 +0200
commit3b390f62674eb70522057e58b1787f2cfa2f57c1 (patch)
tree244ee0a1fe00ab1102d9d3637b2d9e742e313ff4 /security
parent61177b0e12ba162d5de206914e8703d8eb90ad19 (diff)
downloadlinux-3b390f62674eb70522057e58b1787f2cfa2f57c1.tar.bz2
video/hmdi: Clear the whole incoming buffer, not just the infoframe size
If the user if this API is providing a bigger buffer than the infoframe size, it could be for a could reason. For instance it could be because it gives the buffer that will be written to the hardware, up to the maximum of an infoframe size. Instead of just zeroing up to the infoframe size, let's zero the whole incoming buffer as those extra bytes are also used to compute the ECC and need to be 0. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Dave Airlie <airlied@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions