RE: [PATCH v2 14/22] telemetry: replace strtok with reentrant version

2024-01-11 Thread Power, Ciara
> -Original Message- > From: Jie Hai > Sent: Tuesday, November 14, 2023 8:41 AM > To: dev@dpdk.org; Power, Ciara ; Wiles, Keith > ; Richardson, Bruce > Cc: haij...@huawei.com; lihuis...@huawei.com; > fengcheng...@huawei.com > Subject: [PATCH v2 14/22] teleme

[PATCH v2 14/22] telemetry: replace strtok with reentrant version

2023-11-14 Thread Jie Hai
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 w