Acked-by: Chengwen Feng <fengcheng...@huawei.com> On 7/23/2025 9:31 PM, David Marchand wrote: > Passing a NULL to strncmp is incorrect. > > + ------------------------------------------------------- + > + Test Suite : Test Cfgfile Unit Test Suite > + ------------------------------------------------------- + > ../lib/cfgfile/rte_cfgfile.c:475:7: runtime error: null pointer passed as > argument 2, which is declared to never be null > > On the other hand, it seems the intent was to count all sections, so > skip the whole loop and section name comparisons. > > Fixes: c54e7234bc9e ("test/cfgfile: add basic unit tests") > > Signed-off-by: David Marchand <david.march...@redhat.com>
- [PATCH v5 16/22] test/power: fix tests without power ... David Marchand
- [PATCH v5 17/22] test/raw: fix test without skeleton ... David Marchand
- [PATCH v5 15/22] eventdev: fix listing timer adapters... David Marchand
- [PATCH v5 18/22] net: fix IPv4 macro with highest bit David Marchand
- [PATCH v5 19/22] rib6: fix some highest bits handling David Marchand
- Re: [PATCH v5 19/22] rib6: fix some highest bits... Bruce Richardson
- Re: [PATCH v5 19/22] rib6: fix some highest bits... Medvedkin, Vladimir
- [PATCH v5 20/22] cfgfile: fix section count with no n... David Marchand
- Re: [PATCH v5 20/22] cfgfile: fix section count ... Bruce Richardson
- RE: [PATCH v5 20/22] cfgfile: fix section co... Dumitrescu, Cristian
- Re: [PATCH v5 20/22] cfgfile: fix section count ... fengchengwen
- [PATCH v5 21/22] test/func_reentrancy: fix EAL init c... David Marchand
- Re: [PATCH v5 21/22] test/func_reentrancy: fix E... Bruce Richardson
- [PATCH v5 22/22] ci: extend coverage with UBSan David Marchand