gt; ; Wu, Jingjing
> > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix value of num parameter for
> > strncpy function
> >
> > On Mon, Oct 23, 2017 at 12:24:49PM +0100, Kirill Rybalchenko wrote:
> > > num parameter for strncpy() function should be smaller than actual
> -Original Message-
> From: Richardson, Bruce
> Sent: Monday 23 October 2017 13:58
> To: Rybalchenko, Kirill
> Cc: dev@dpdk.org; Chilikin, Andrey ; Xing, Beilei
> ; Wu, Jingjing
> Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix value of num parameter for
> strn
On Mon, Oct 23, 2017 at 12:24:49PM +0100, Kirill Rybalchenko wrote:
> num parameter for strncpy() function should be smaller than
> actual destination buffer size to allow null termination.
>
> Fixes: 40d1324423a4 ("net/i40e: get ddp profile protocol info")
>
> Signed-off-by: Kirill Rybalchenko
num parameter for strncpy() function should be smaller than
actual destination buffer size to allow null termination.
Fixes: 40d1324423a4 ("net/i40e: get ddp profile protocol info")
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 2 +-
1 file changed, 1 insertion(+), 1 d
4 matches
Mail list logo