Re: [PATCH v2 01/16] eal: verify strdup return value

2024-02-18 Thread Thomas Monjalon
21/11/2023 04:44, lihuisong (C): > 在 2023/11/10 18:01, Chengwen Feng 写道: > > --- a/lib/eal/linux/eal_dev.c > > +++ b/lib/eal/linux/eal_dev.c > > @@ -181,7 +181,10 @@ dev_uev_parse(const char *buf, struct rte_dev_event > > *event, int length) > > buf += 14; > >

Re: [PATCH v2 01/16] eal: verify strdup return value

2023-11-20 Thread lihuisong (C)
在 2023/11/10 18:01, Chengwen Feng 写道: Add verify strdup() return value logic. Fixes: 293c53d8b23c ("eal: add telemetry callbacks") Fixes: 0d0f478d0483 ("eal/linux: add uevent parse and process") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng --- lib/eal/common/eal_common_options.c | 24 +++

[PATCH v2 01/16] eal: verify strdup return value

2023-11-10 Thread Chengwen Feng
Add verify strdup() return value logic. Fixes: 293c53d8b23c ("eal: add telemetry callbacks") Fixes: 0d0f478d0483 ("eal/linux: add uevent parse and process") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng --- lib/eal/common/eal_common_options.c | 24 ++-- lib/eal/linux/eal_