linux-sg2042/drivers/video/fbdev/core
Dan Carpenter b4df20474f fbdev: fix snprintf() limit in show_bl_curve()
The limit should be "PAGE_SIZE - len" instead of PAGE_SIZE.  Also let's
use scnprintf() because snprintf() returns the number of bytes which
would have been printed if there were space and scnprintf() returns the
number of bytes actually printed.

I don't think we are ever going to actually hit this limit in real life.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2015-09-01 13:52:23 +03:00
..
Makefile framebuffer: don't link fb_devio into kernel image unconditionally 2015-05-07 13:59:45 +03:00
cfbcopyarea.c framebuffer: fix screen corruption when copying 2014-09-30 13:39:50 +03:00
cfbfillrect.c
cfbimgblt.c
fb_cmdline.c video/fbdev: Always built-in video= cmdline parsing 2014-08-06 14:50:02 +02:00
fb_ddc.c
fb_defio.c framebuffer: don't link fb_devio into kernel image unconditionally 2015-05-07 13:59:45 +03:00
fb_draw.h
fb_notify.c
fb_sys_fops.c
fbcmap.c
fbcvt.c fbdev: fix CVT vertical front and back porch values 2015-01-27 13:35:37 +02:00
fbmem.c video/fbdev: Always built-in video= cmdline parsing 2014-08-06 14:50:02 +02:00
fbmon.c fbdev: fix cea_modes array size 2015-08-20 10:20:11 +03:00
fbsysfs.c fbdev: fix snprintf() limit in show_bl_curve() 2015-09-01 13:52:23 +03:00
modedb.c fbdev: fix cea_modes array size 2015-08-20 10:20:11 +03:00
svgalib.c
syscopyarea.c video: fbdev: fix sys_copyarea 2015-01-30 09:46:59 +02:00
sysfillrect.c
sysimgblt.c