[PATCH 02/43] eal: use rte strerror
Stephen Hemminger
stephen at networkplumber.org
Wed Nov 15 01:22:54 CET 2023
On Tue, 14 Nov 2023 16:24:58 +0800
Dengdui Huang <huangdengdui at huawei.com> wrote:
> The function strerror() is insecure in a multi-thread environment.
> This patch uses rte_strerror() to replace it.
>
> Cc: stable at dpdk.org
>
> Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>
> ---
Look at implementation of rte_strerror(), it still has issues if
used from non-DPDK registered threads.
More information about the dev
mailing list