On Tue, 14 Nov 2023 18:59:45 +0800 Jie Hai <haij...@huawei.com> wrote:
> 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: 5c59002a34f3 ("app/graph: add graph commands") > Fixes: 984a315a5804 ("app/graph: add parser utility") NAK These are only called from graph CLI which must be single threaded