diff options
author | Helge Deller <deller@gmx.de> | 2022-06-25 13:56:49 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-07-07 11:50:45 +0300 |
commit | 65a01e601dbba8b7a51a2677811f70f783766682 (patch) | |
tree | 0d8fee001f1711569f1748df1f3bc6a45ee807b8 /include/linux | |
parent | 3663a2fb325b8782524f3edb0ae32d6faa615109 (diff) | |
download | linux-65a01e601dbba8b7a51a2677811f70f783766682.tar.xz |
fbcon: Disallow setting font bigger than screen size
Prevent that users set a font size which is bigger than the physical screen.
It's unlikely this may happen (because screens are usually much larger than the
fonts and each font char is limited to 32x32 pixels), but it may happen on
smaller screens/LCD displays.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: stable@vger.kernel.org # v4.14+
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions