mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
9cf14f5a27
The values of the variables xres and yres are placed in strbuf. These variables are obtained from strbuf1. The strbuf1 array contains digit characters and a space if the array contains non-digit characters. Then, when executing sprintf(strbuf, "%ux%ux8", xres, yres); more than 16 bytes will be written to strbuf. It is suggested to increase the size of the strbuf array to 24. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Andrey Shumilin <shum.sdl@nppct.ru> Signed-off-by: Helge Deller <deller@gmx.de> |
||
---|---|---|
.. | ||
backlight | ||
console | ||
fbdev | ||
logo | ||
aperture.c | ||
cmdline.c | ||
display_timing.c | ||
hdmi.c | ||
Kconfig | ||
Makefile | ||
nomodeset.c | ||
of_display_timing.c | ||
of_videomode.c | ||
screen_info_generic.c | ||
screen_info_pci.c | ||
sticore.c | ||
vgastate.c | ||
videomode.c |