drm/i915: Prevent integer overflow when validating the execbuffer
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 21 Nov 2010 09:23:48 +0000 (09:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 21 Nov 2010 09:30:58 +0000 (09:30 +0000)
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>

No differences found