[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bcfff02c-d56e-a7b1-d8b7-a1a9c44d052b@huawei.com>
Date: Wed, 14 Jun 2023 19:55:38 +0800
From: Hao Lan <lanhao@...wei.com>
To: Paolo Abeni <pabeni@...hat.com>, <netdev@...r.kernel.org>
CC: <yisen.zhuang@...wei.com>, <salil.mehta@...wei.com>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<richardcochran@...il.com>, <wangpeiyang1@...wei.com>,
<shenjian15@...wei.com>, <chenhao418@...wei.com>,
<simon.horman@...igine.com>, <wangjie125@...wei.com>, <yuanjilin@...rlc.com>,
<cai.huoqing@...ux.dev>, <xiujianfeng@...wei.com>
Subject: Re: [PATCH net-next v2 3/4] net: hns3: fix strncpy() not using
dest-buf length as length issue
On 2023/6/14 18:34, Paolo Abeni wrote:
> On Mon, 2023-06-12 at 20:23 +0800, Hao Lan wrote:
>
> I think it would be better using 'strscpy' instead of papering over
> more unsecure functions.
>
> Thanks,
>
> Paolo
>
> .
>
Hi Paolo Abeni,
We accept your suggestion,
thank you.
Powered by blists - more mailing lists