commit | 5c820b80640508d34b2294b5fe8f78e0c20f3e3e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jul 24 19:11:26 2018 +0200 |
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Tue Jul 24 19:11:26 2018 +0200 |
tree | 73409fb1c9b52e6ac49de146da17cf6dd2afb6c4 | |
parent | ff459c2dc0b51e5041af65dae44e44233ff26b48 [diff] |
video: fbdev: metronomefb: fix some off by one bugs 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@oracle.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>