[PATCH v4 05/13] security: replace strtok with reentrant version

Stephen Hemminger stephen at networkplumber.org
Sun Oct 27 04:03:48 CET 2024


On Sat, 26 Oct 2024 18:14:43 +0800
Jie Hai <haijie1 at 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: 259ca6d1617f ("security: add telemetry endpoint for capabilities")
> Cc: stable at dpdk.org

Another patch that is not needed in stable.


More information about the dev mailing list