[PATCH v5 07/22] tailq: fix lookup macro

fengchengwen fengchengwen at huawei.com
Wed Aug 13 03:13:41 CEST 2025


Acked-by: Chengwen Feng <fengchengwen at huawei.com>

On 7/23/2025 9:31 PM, David Marchand wrote:
> Doing arithmetic with the NULL pointer is undefined.
> 
> Caught by UBSan:
> 
> ../app/test/test_tailq.c:111:9: runtime error:
> 	member access within null pointer of type 'struct rte_tailq_head'
> 
> Fixes: f6b4f6c9c123 ("tailq: use a single cast macro")
> Cc: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>



More information about the dev mailing list