]> git.ipfire.org Git - thirdparty/u-boot.git/commit
video: console: Fix buffer overflow in cmd 'font list'
authorJanne Grunau <j@jannau.net>
Wed, 17 Jan 2024 22:29:29 +0000 (23:29 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2024 19:53:11 +0000 (14:53 -0500)
commit24adbee344b2d6e8342f41928c82719187dbce09
tree988a8b9655378ef904f4e02a29ad7c29b5d45650
parent3883c9add00bd0413ff98b542fce0a29029ff172
video: console: Fix buffer overflow in cmd 'font list'

vidconsole_ops.get_font is documented to return -ENOENT after the last
video_fontdata entry.

Signed-off-by: Janne Grunau <j@jannau.net>
drivers/video/console_core.c