console/dummy: leave .con_font_get set to NULL
authorNicolas Pitre <nicolas.pitre@linaro.org>
Mon, 15 Jan 2018 16:04:22 +0000 (17:04 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 15 Jan 2018 16:04:22 +0000 (17:04 +0100)
commit724ba8b30b044aa0d94b1cd374fc15806cdd6f18
treec372d5f7df497f02aa52245ce5beef9f5c61f1ba
parent91ae3396ed48940b8f87c01260d9af734c67a5fd
console/dummy: leave .con_font_get set to NULL

When this method is set, the caller expects struct console_font fields
to be properly initialized when it returns. Leave it unset otherwise
nonsensical (leaked kernel stack) values are returned to user space.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/console/dummycon.c