fbdev: improve fb_mmap bounds checks
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 18 Apr 2013 05:39:47 +0000 (08:39 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 26 Apr 2013 05:28:56 +0000 (08:28 +0300)
commit04f8afbec37f63fafce16e454a7848426aa36202
tree1c761c03f67ebdc71163aaaf0389a092f29916c6
parent11bd5933abe033fb7a3a0d1f1bd2cb4b6df8143f
fbdev: improve fb_mmap bounds checks

Improve fb_mmap bounds checks in gbefb, smscufx, udlfb and vfb drivers to
prevent possible uint overflows.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Steve Glendinning <steve.glendinning@smsc.com>
Cc: Bernie Thompson <bernie@plugable.com>
drivers/video/gbefb.c
drivers/video/smscufx.c
drivers/video/udlfb.c
drivers/video/vfb.c