> From: Jie Hai [mailto:haij...@huawei.com]
> Sent: Tuesday, 14 November 2023 12.00
> 
> 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.
> 
> This patchset replaces strtok with strtok_s in app, example, lib

Typo: strtok_s -> strtok_r

> and drivers. And adds check for use of strtok in checkpatches.sh.
> 
> --
> v3:
> 1. fix compile error.
> 2. use strtok_r instead.
> v2:
> 1. fix commit log.
> 2. add check in checkpatches.sh.
> 3. replace strtok_r with strtok_s.
> 4. add Acked-by.
> --

+1 to doing this, also in functions that are supposed to be single threaded; 
because it allows the addition to checkpatches.

Acked-by: Morten Brørup <m...@smartsharesystems.com>

Reply via email to