]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit363bc9551459ace4fe0428d9abb8fe4726e6cc72
tree1c761c03f67ebdc71163aaaf0389a092f29916c6
parent160b77b0327ae3c8d4ae3862453d5c2aae8031b2
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