git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ed1ef9
)
drm/i915: Don't overrun the intel_wa_regs array
author
Damien Lespiau
<damien.lespiau@intel.com>
Sat, 30 Aug 2014 15:51:00 +0000
(16:51 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 10:38:54 +0000
(12:38 +0200)
When entering intel_ring_emit_wa() with num_wa_regs equal to
I915_MAX_WA_REGS, we end up indexing the intel_wa_regs array beyond its
allocation.
Fix the check then.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
No differences found