diff options
author | 2017-11-17 17:21:49 +0100 | |
---|---|---|
committer | 2017-11-17 17:21:49 +0100 | |
commit | 5f215d252496543ba22299bccef5062d30d63cfe (patch) | |
tree | a991f9862eb12e91ded049f2059a894f4eeb785d /net/lapb/lapb_timer.c | |
parent | video: fbdev: sm501fb: fix potential null pointer dereference on fbi (diff) | |
download | linux-dev-5f215d252496543ba22299bccef5062d30d63cfe.tar.xz linux-dev-5f215d252496543ba22299bccef5062d30d63cfe.zip |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions