Re: [PATCH v5 1/4] printk: Fix panic caused by passing log_buf_len to command line

From: Sergey Senozhatsky
Date: Tue Oct 02 2018 - 01:48:24 EST


On (09/30/18 00:45), zhe.he@xxxxxxxxxxxxx wrote:
>
> This patch adds a check to prevent the panic.
>
> Signed-off-by: He Zhe <zhe.he@xxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Cc: pmladek@xxxxxxxx
> Cc: sergey.senozhatsky@xxxxxxxxx
> Cc: rostedt@xxxxxxxxxxx

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

-ss