commit | 3dd4e846042063bf5481df87a00356ee820288de | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Apr 18 18:04:22 2014 -0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon May 05 09:08:59 2014 +0200 |
tree | cc860f9e11f27e9a64d2922770244053d7e9f872 | |
parent | d1f13fd261f4490b3b69c1da87711fd3813c2a9f [diff] |
drm/i915: Validate VBT header before trusting it Be we read and chase pointers from the VBT, it is prudent to make sure that those accesses are wholly contained within the MMIO region, or else we may cause a kernel panic during boot. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Reviewed-by: Shobhit Kumar <shobhit.kumar@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>