On Mon, Jun 30, 2025 at 6:06 PM Marat Khalili wrote:
>
> > -Original Message-
> > From: David Marchand
> > Sent: Monday 23 June 2025 14:53
> > To: dev@dpdk.org
> > Cc: sta...@dpdk.org; Bruce Richardson ; Tyler
> > Retzlaff ; Neil Horman
> >
> -Original Message-
> From: David Marchand
> Sent: Monday 23 June 2025 14:53
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Bruce Richardson ; Tyler
> Retzlaff ; Neil Horman
>
> Subject: [PATCH v2 07/10] tailq: fix cast macro for null pointer
>
> Doing arithm
Doing arithmetics 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: sta...@dpdk.org
Signed-off-by: David Marchan
3 matches
Mail list logo