> -----Original Message----- > From: Jie Hai <haij...@huawei.com> > Sent: Tuesday, November 14, 2023 8:41 AM > To: dev@dpdk.org; Power, Ciara <ciara.po...@intel.com>; Wiles, Keith > <keith.wi...@intel.com>; Richardson, Bruce <bruce.richard...@intel.com> > Cc: haij...@huawei.com; lihuis...@huawei.com; > fengcheng...@huawei.com > Subject: [PATCH v2 14/22] telemetry: replace strtok with reentrant version > > Multiple threads calling the same function may cause condition race issues, > which often leads to abnormal behavior and can cause more serious > vulnerabilities such as abnormal termination, denial of service, and > compromised data integrity. > > The strtok() is non-reentrant, it is better to replace it with a reentrant > version. > > Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality") > Cc: sta...@dpdk.org > > Signed-off-by: Jie Hai <haij...@huawei.com> > Acked-by: Chengwen Feng <fengcheng...@huawei.com> > --- Acked-by: Ciara Power <ciara.po...@intel.com>