]> err.no Git - linux-2.6/commit
vga16fb: test virtual screen range before subtraction on unsigned
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 24 Jul 2008 04:31:19 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:37 +0000 (10:47 -0700)
commit77a6e7abb09de0e85a15e2fe42c21ffc59847759
tree94ddd7718d173edcd406457d0bef7d9dea79c0f9
parent1c0face9d4024bf942096297937759bdf0e1aeac
vga16fb: test virtual screen range before subtraction on unsigned

dx and dy are u32's, so the test should occur before the subtraction

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Cc: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/vga16fb.c