On Thu, Jun 19, 2025 at 09:10:33AM +0200, David Marchand wrote:
> 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: [email protected]
>
> Signed-off-by: David Marchand <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
- Re: [PATCH 05/10] cmdline: fix port list parsing Bruce Richardson
- Re: [PATCH 05/10] cmdline: fix port list parsing David Marchand
- Re: [PATCH 05/10] cmdline: fix port list par... Bruce Richardson
- [PATCH 06/10] cmdline: fix highest bit port list parsing David Marchand
- Re: [PATCH 06/10] cmdline: fix highest bit port list... Bruce Richardson
- Re: [PATCH 06/10] cmdline: fix highest bit port ... David Marchand
- [PATCH 04/10] eal: fix plugin dir walk David Marchand
- Re: [PATCH 04/10] eal: fix plugin dir walk Bruce Richardson
- Re: [PATCH 04/10] eal: fix plugin dir walk David Marchand
- [PATCH 07/10] tailq: fix cast macro for null pointer David Marchand
- Re: [PATCH 07/10] tailq: fix cast macro for null poi... Bruce Richardson
- [PATCH 08/10] hash: fix unaligned access in predictable R... David Marchand
- [PATCH 10/10] build: support Undefined Behavior Sanitizer David Marchand
- [PATCH 09/10] stack: fix unaligned accesses on 128-bit David Marchand
- [PATCH v2 00/10] Run with UBSan in GHA David Marchand
- [PATCH v2 01/10] ci: save ccache on failure David Marchand
- [PATCH v2 02/10] test/telemetry: fix test calling al... David Marchand
- RE: [PATCH v2 02/10] test/telemetry: fix test ca... Marat Khalili
- Re: [PATCH v2 02/10] test/telemetry: fix tes... David Marchand
- RE: [PATCH v2 02/10] test/telemetry: fix... Marat Khalili

