commit | d1f13fd261f4490b3b69c1da87711fd3813c2a9f | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Apr 18 18:04:23 2014 -0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon May 05 09:08:58 2014 +0200 |
tree | c75ef06becb199d9aeaada1c3bd7b27c43fe64fb | |
parent | c6df39b5ea6342323a42edfbeeca0a28c643d7ae [diff] |
drm/i915: Validate BDB section before reading Make sure that the whole BDB section is within the MMIO region prior to accessing it contents. That we don't read outside of the secion is left up to the individual section parsers. 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>