Since snprintf() returns the would-be-output size instead of the actual output size, the succeeding calls may go beyond the given buffer limit. Fix it by replacing with scnprintf(). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200311093230.24900-2-tiwai@suse.de |
||
|---|---|---|
| .. | ||
| hwa742.c | ||
| Kconfig | ||
| lcd_ams_delta.c | ||
| lcd_h3.c | ||
| lcd_htcherald.c | ||
| lcd_inn1510.c | ||
| lcd_inn1610.c | ||
| lcd_mipid.c | ||
| lcd_osk.c | ||
| lcd_palmte.c | ||
| lcd_palmtt.c | ||
| lcd_palmz71.c | ||
| lcdc.c | ||
| lcdc.h | ||
| Makefile | ||
| omapfb.h | ||
| omapfb_main.c | ||
| sossi.c | ||