> > From: Dapeng Yu
> >
> > When there is no "firmware" in arguments, the "firmware" pointer is null,
> > and will be dereferenced by rte_strscpy().
> >
> > This patch moves the code block which copies character string from
> > "firmware" to "p->firmware" into the "if" statements where "firmware
> -Original Message-
> From: Yu, DapengX
> Sent: Tuesday, July 27, 2021 9:15 AM
> To: Singh, Jasvinder ; Dumitrescu, Cristian
>
> Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org
> Subject: [PATCH] net/softnic: fix null pointer dereference
>
> From: Dapeng Yu
>
> When there is no "fi
From: Dapeng Yu
When there is no "firmware" in arguments, the "firmware" pointer is
null, and will be dereferenced by rte_strscpy().
This patch moves the code block which copies character string from
"firmware" to "p->firmware" into the "if" statements where "firmware"
argument exists and it is
3 matches
Mail list logo