diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-24 20:11:26 +0300 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-24 20:11:26 +0300 |
| commit | 5c820b80640508d34b2294b5fe8f78e0c20f3e3e (patch) | |
| tree | 73409fb1c9b52e6ac49de146da17cf6dd2afb6c4 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | ff459c2dc0b51e5041af65dae44e44233ff26b48 (diff) | |
| download | linux-5c820b80640508d34b2294b5fe8f78e0c20f3e3e.tar.xz | |
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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
