]> 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)
commitdd3fa36b530fd89967ed5956feac567a16aa8d38
tree88bc3d8a1b63d742410dbfa75e1a5d4bba96f134
parent460d8dc0f2852568fd5664d7aaf6f92f4551bfc5
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