* Re: [PATCH v2] net/memif: remove pointer deference before null check
[not found] ` <tencent_7F46CC1FCFE7295F8495CEF137EAC8AE0806@qq.com>
@ 2022-02-09 13:56 ` Ferruh Yigit
2022-02-09 17:51 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Ferruh Yigit @ 2022-02-09 13:56 UTC (permalink / raw)
To: Weiguo Li, jgrajcia; +Cc: dev, stable
On 2/9/2022 7:39 AM, Weiguo Li wrote:
> There are duplicates of assignment here, the one before null check
> may cause a null pointer deference, so remove the previous one.
>
> Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD")
>
Cc: stable@dpdk.org
> Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] net/memif: remove pointer deference before null check
2022-02-09 13:56 ` [PATCH v2] net/memif: remove pointer deference before null check Ferruh Yigit
@ 2022-02-09 17:51 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2022-02-09 17:51 UTC (permalink / raw)
To: Weiguo Li, jgrajcia; +Cc: dev, stable
On 2/9/2022 1:56 PM, Ferruh Yigit wrote:
> On 2/9/2022 7:39 AM, Weiguo Li wrote:
>> There are duplicates of assignment here, the one before null check
>> may cause a null pointer deference, so remove the previous one.
>>
>> Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD")
>>
>
> Cc: stable@dpdk.org
>
>> Signed-off-by: Weiguo Li <liwg06@foxmail.com>
>
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied to dpdk-next-net/main, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-09 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_0E1B224731F03CA9A76D11653A7EDF322308@qq.com>
[not found] ` <tencent_7F46CC1FCFE7295F8495CEF137EAC8AE0806@qq.com>
2022-02-09 13:56 ` [PATCH v2] net/memif: remove pointer deference before null check Ferruh Yigit
2022-02-09 17:51 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).