> -----Original Message----- > From: Jie Hai <[email protected]> > Sent: Tuesday, November 14, 2023 8:41 AM > To: [email protected]; Power, Ciara <[email protected]>; Wiles, Keith > <[email protected]>; Richardson, Bruce <[email protected]> > Cc: [email protected]; [email protected]; > [email protected] > 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: [email protected] > > Signed-off-by: Jie Hai <[email protected]> > Acked-by: Chengwen Feng <[email protected]> > --- Acked-by: Ciara Power <[email protected]>

