12/09/2024 03:29, fengchengwen:
> On 2024/9/12 8:55, Stephen Hemminger wrote:
> > The function strtok is not thread safe, better to use strtok_r.
> > This patch was found by running semgrep on the DPDK repository.
> >
> > Signed-off-by: Stephen Hemminger
> Acked-by: Chengwen Feng
Applied, thank
Acked-by: Chengwen Feng
There are many strtok invoking in DPDK current, and Hai Jie already submitted a
patchset [1], and it seemed interrupted.
Perhaps it's time to re-submit.
[1] https://inbox.dpdk.org/dev/20231114110006.91148-1-haij...@huawei.com/
On 2024/9/12 8:55, Stephen Hemminger wrote:
The function strtok is not thread safe, better to use strtok_r.
This patch was found by running semgrep on the DPDK repository.
Signed-off-by: Stephen Hemminger
---
app/graph/graph.c | 6 +++---
app/graph/utils.c | 18 +-
2 files changed, 12 insertions(+), 12 deletions(-)
diff
3 matches
Mail list logo