Skip to content
Commit 5f215d25 authored by Dan Carpenter's avatar Dan Carpenter Committed by Bartlomiej Zolnierkiewicz
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 5fa1f45d
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