[PATCH 3/4] drm: edid: Add bounds checking to HDMI VSDB parsing

2012-08-16 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The length of HDMI VSDB must be at least 5 bytes. Other than the minimum, nothing else about the length is specified. Check the length before accessing any additional field beyond the minimum length. --- drivers/gpu/drm/drm_edid.c | 33 + 1 f

[PATCH 3/4] drm: edid: Add bounds checking to HDMI VSDB parsing

2012-08-16 Thread ville . syrjala
From: Ville Syrjälä The length of HDMI VSDB must be at least 5 bytes. Other than the minimum, nothing else about the length is specified. Check the length before accessing any additional field beyond the minimum length. --- drivers/gpu/drm/drm_edid.c | 33 + 1 f