Re: [dpdk-dev] [PATCH] app/regex: avoid division by zero

2022-07-05 Thread Thomas Monjalon
24/05/2021 10:57, Thierry Herbelot: > Check that nb_jobs is not zero before using it for a division. > > Fixes: f5cffb7eb7fb6 ("app/regex: read data file once at startup") > Cc: sta...@dpdk.org > Cc: Ori Kam > > Signed-off-by: Thierry Herbelot Missing ack, but applied after a long wait, sorry.

[dpdk-dev] [PATCH] app/regex: avoid division by zero

2021-05-24 Thread Thierry Herbelot
Check that nb_jobs is not zero before using it for a division. Fixes: f5cffb7eb7fb6 ("app/regex: read data file once at startup") Cc: sta...@dpdk.org Cc: Ori Kam Signed-off-by: Thierry Herbelot --- app/test-regex/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test-regex/main.