[PATCH] video: fbdev: metronomefb: fix some off by one bugs

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Tue Jul 24 15:29:48 UTC 2018


On Tuesday, July 03, 2018 03:28:13 PM Dan Carpenter wrote:
> The "mem" buffer has "size" bytes.  The ">" should be ">=" to prevent
> reading one character beyond the end of the array.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Patch queued for 4.19, thanks.

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



More information about the dri-devel mailing list