[PATCH v2 04/22] app/crypto-perf: replace strtok with reentrant version

Power, Ciara ciara.power at intel.com
Thu Jan 11 18:10:01 CET 2024


Hi Jie Hai,

> -----Original Message-----
> From: Jie Hai <haijie1 at huawei.com>
> Sent: Tuesday, November 14, 2023 8:41 AM
> To: dev at dpdk.org; Power, Ciara <ciara.power at intel.com>; Sergio Gonzalez
> Monroy <sergio.gonzalez.monroy at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Piotr Azarewicz
> <piotr.azarewicz at intel.com>; Kobylinski, Michal
> <michal.kobylinski at intel.com>; Mrozowicz, SlawomirX
> <slawomirx.mrozowicz at intel.com>; Kerlin, Marcin <marcin.kerlin at intel.com>;
> Doherty, Declan <declan.doherty at intel.com>
> Cc: haijie1 at huawei.com; lihuisong at huawei.com;
> fengchengwen at huawei.com
> Subject: [PATCH v2 04/22] app/crypto-perf: 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: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes")
> Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test
> application")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Jie Hai <haijie1 at huawei.com>
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>

Acked-by: Ciara Power <ciara.power at intel.com>


More information about the dev mailing list