Skip to content
Commit 091c82c0 authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds
Browse files

amifb: 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: default avatarRoel Kluin <12o3l@tiscali.nl>
Cc: Antonino Daplas <adaplas@pol.net>
Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 816664f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment