RE: [PATCH 15/21] bus/fslmc: replace strtok with strtok_r

2023-11-15 Thread Sachin Saxena
Acked-by: Sachin Saxena > -Original Message- > From: Jie Hai > Sent: 13 November 2023 04:16 PM > To: dev@dpdk.org; Hemant Agrawal ; Sachin > Saxena > Cc: haij...@huawei.com; lihuis...@huawei.com; fengcheng...@huawei.com > Subject: [PATCH 15/21] bus/fslmc: replace

[PATCH 15/21] bus/fslmc: replace strtok with strtok_r

2023-11-13 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