Re: [PATCH] console/dummy: leave .con_font_get set to NULL

2018-01-15 Thread Nicolas Pitre
On Mon, 15 Jan 2018, Bartlomiej Zolnierkiewicz wrote: > On Friday, January 05, 2018 04:42:58 PM Nicolas Pitre wrote: > > > > 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

Re: [PATCH] console/dummy: leave .con_font_get set to NULL

2018-01-15 Thread Nicolas Pitre
On Mon, 15 Jan 2018, Bartlomiej Zolnierkiewicz wrote: > On Friday, January 05, 2018 04:42:58 PM Nicolas Pitre wrote: > > > > 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

Re: [PATCH] console/dummy: leave .con_font_get set to NULL

2018-01-15 Thread Bartlomiej Zolnierkiewicz
On Friday, January 05, 2018 04:42:58 PM Nicolas Pitre wrote: > > 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:

Re: [PATCH] console/dummy: leave .con_font_get set to NULL

2018-01-15 Thread Bartlomiej Zolnierkiewicz
On Friday, January 05, 2018 04:42:58 PM Nicolas Pitre wrote: > > 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:

[PATCH] console/dummy: leave .con_font_get set to NULL

2018-01-05 Thread Nicolas Pitre
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 Cc: sta...@kernel.org diff --git

[PATCH] console/dummy: leave .con_font_get set to NULL

2018-01-05 Thread Nicolas Pitre
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 Cc: sta...@kernel.org diff --git