commit | d1d788302e8c76e5138dfa61f4a5eee4f72a748f | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sun Nov 21 09:23:48 2010 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Sun Nov 21 09:30:58 2010 +0000 |
tree | 4e8504aeaafefb11d7c973836da3323f72f02795 | |
parent | 16c59ef33b389217c29122235e475557bc1412a1 [diff] |
drm/i915: Prevent integer overflow when validating the execbuffer Commit 2549d6c2 removed the vmalloc used for temporary storage of the relocation lists used during execbuffer. However, our use of vmalloc was being protected by an integer overflow check which we do want to preserve! Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>