Dan Carpenter 5f215d2524 OMAPFB: prevent buffer underflow in omapfb_parse_vram_param()
We cap the upper bound of "fbnum" but we also need to check for
negatives or make the type unsigned.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-11-17 17:21:49 +01:00
..
2017-11-13 18:16:31 +01:00
2017-08-21 16:49:58 +02:00
2017-02-25 13:20:22 -08:00
2017-09-04 16:00:49 +02:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2017-09-04 16:00:49 +02:00
2015-10-08 12:19:39 +03:00
2017-05-27 15:41:17 -04:00
2017-11-09 18:09:30 +01:00
2017-11-09 18:09:30 +01:00
2017-09-14 13:33:33 -07:00
2016-09-07 12:06:53 +03:00
2017-05-11 11:12:26 -07:00