lkml.org 
[lkml]   [2021]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] proc_sysctl: fix oops caused by incorrect command parameters.
From
Date
On 2021/1/9 17:10, Andy Shevchenko wrote:
>
>
> On Friday, January 8, 2021, Xiaoming Ni <nixiaoming@huawei.com
> <mailto:nixiaoming@huawei.com>> wrote:
>
> The process_sysctl_arg() does not check whether val is empty before
>  invoking strlen(val). If the command line parameter () is incorrectly
>  configured and val is empty, oops is triggered.
>
> For example, "hung_task_panic=1" is incorrectly written as
> "hung_task_panic".
>
> log:
>
>
> Can you drop redundant (not significant) lines from the log to avoid
> noisy commit message?
>
ok,
Thank you for your advice.
I will update it in v3 patch.

Thanks

Xiaoming Ni.

\
 
 \ /
  Last update: 2021-01-11 04:16    [W:0.254 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site