From: Ville Syrjälä Date: Fri, 9 Jan 2015 12:21:12 +0000 (+0200) Subject: drm/i915: Make hpd arrays big enough to avoid out of bounds access X-Git-Tag: fixes-v4.0-rc1~91^2~32^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c7e10db4698c38403bae9af3b0a684724d93472;p=pandora-kernel.git drm/i915: Make hpd arrays big enough to avoid out of bounds access intel_hpd_irq_handler() walks the passed in hpd[] array assuming it contains HPD_NUM_PINS elements. Currently that's not true as we don't specify an explicit size for the arrays when initializing them. Avoid the out of bounds accesses by specifying the size for the arrays. Signed-off-by: Ville Syrjälä Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed