On Mon, Jun 23, 2025 at 03:52:35PM +0200, David Marchand wrote: > Doing arithmetics with the NULL pointer is undefined. > > Caught by UBSan: > > ../lib/cmdline/cmdline_parse_portlist.c:40:19: runtime error: > applying non-zero offset 1 to null pointer > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior > ../lib/cmdline/cmdline_parse_portlist.c:40:19 in > > Fixes: af75078fece3 ("first public release") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand <david.march...@redhat.com> > --- > Changes since v1: > - moved some variable as suggested by Bruce, > Acked-by: Bruce Richardson <bruce.richard...@intel.com>
- [PATCH v2 01/10] ci: save ccache on failure David Marchand
- [PATCH v2 02/10] test/telemetry: fix test calling all c... David Marchand
- RE: [PATCH v2 02/10] test/telemetry: fix test call... Marat Khalili
- Re: [PATCH v2 02/10] test/telemetry: fix test ... David Marchand
- RE: [PATCH v2 02/10] test/telemetry: fix t... Marat Khalili
- [PATCH v2 03/10] test/mempool: fix test without stack d... David Marchand
- RE: [PATCH v2 03/10] test/mempool: fix test withou... Marat Khalili
- [PATCH v2 04/10] eal: fix plugin dir walk David Marchand
- RE: [PATCH v2 04/10] eal: fix plugin dir walk Marat Khalili
- [PATCH v2 05/10] cmdline: fix port list parsing David Marchand
- Re: [PATCH v2 05/10] cmdline: fix port list parsin... Bruce Richardson
- RE: [PATCH v2 05/10] cmdline: fix port list parsin... Marat Khalili
- [PATCH v2 06/10] cmdline: fix highest bit port list par... David Marchand
- RE: [PATCH v2 06/10] cmdline: fix highest bit port... Marat Khalili
- [PATCH v2 07/10] tailq: fix cast macro for null pointer David Marchand
- RE: [PATCH v2 07/10] tailq: fix cast macro for nul... Marat Khalili
- [PATCH v2 08/10] hash: fix unaligned access in predicta... David Marchand
- Re: [PATCH v2 08/10] hash: fix unaligned access in... Bruce Richardson
- RE: [PATCH v2 08/10] hash: fix unaligned access in... Konstantin Ananyev
- [PATCH v2 09/10] stack: fix unaligned accesses on 128-b... David Marchand
- Re: [PATCH v2 09/10] stack: fix unaligned accesses... Bruce Richardson