From: Ville Syrjälä Date: Thu, 16 Aug 2012 14:55:05 +0000 (+0000) Subject: drm: edid: Add bounds checking to HDMI VSDB parsing X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8504072a2a47c80344c1cf81537d1d433a979fc6;p=pandora-kernel.git drm: edid: Add bounds checking to HDMI VSDB parsing 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. Signed-off-by: Ville Syrjälä Reviewed-by: Adam Jackson Signed-off-by: Dave Airlie --- Reading git-diff-tree failed