]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit974a9f1792f38c3bbad5db31a0be7897442e3a3f
tree4e8504aeaafefb11d7c973836da3323f72f02795
parent65950cc2db9e7d20ecd6afc112b6adb4d757349f
drm/i915: Prevent integer overflow when validating the execbuffer

Commit a3bde677 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>
drivers/gpu/drm/i915/i915_gem.c