[PATCH] OMAPFB: prevent buffer underflow in omapfb_parse_vram_param()

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Fri Nov 17 16:21:14 UTC 2017


On Tuesday, November 14, 2017 09:12:28 AM Dan Carpenter wrote:
> 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 at oracle.com>

Patch queued for 4.15, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics



More information about the dri-devel mailing list