]> git.baikalelectronics.ru Git - kernel.git/commit
drm: edid: Add some bounds checking
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Aug 2012 14:55:04 +0000 (14:55 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Sep 2012 01:21:36 +0000 (11:21 +1000)
commita0cc9a92765176a2ee60be5d0390ad6605670557
tree88bc3d8a1b63d742410dbfa75e1a5d4bba96f134
parent9eeb56f75844bf7d1e929a97a6ba0e8855ee5e25
drm: edid: Add some bounds checking

Make sure drm_detect_hdmi_monitor() and drm_detect_monitor_audio() don't
access beyond the extension block.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c