[dpdk-dev] [PATCH v2] examples/vhost: fix string split error handling issue

Maxime Coquelin maxime.coquelin at redhat.com
Thu Nov 12 17:53:23 CET 2020



On 11/11/20 10:08 AM, Cheng Jiang wrote:
> Add checking return value of string split function to fix the
> coverity issue.
> 
> Fixes: 3a04ecb21420 ("examples/vhost: add async vhost args parsing")
> Coverity issue: 363739
> 
> Signed-off-by: Cheng Jiang <Cheng1.jiang at intel.com>
> ---
> v2: checked args_nr explicitly
> 
>  examples/vhost/ioat.c | 17 +++++++++++++----
>  1 file changed, 13 insertions(+), 4 deletions(-)

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list