Re: [dpdk-dev] [PATCH] ipsec: fix unchecked return value

2020-05-11 Thread Akhil Goyal
> > Explicitly check return value in add_specific() > > CID 357760 (#2 of 2): Negative array index write (NEGATIVE_RETURNS) > > 8. negative_returns: Using variable ret as an index to array sad->cnt_arr > > > > Fixes: b2ee26926775 ("ipsec: add SAD add/delete/lookup implementation") > > Cc: sta...

Re: [dpdk-dev] [PATCH] ipsec: fix unchecked return value

2020-05-11 Thread Ananyev, Konstantin
> Explicitly check return value in add_specific() > CID 357760 (#2 of 2): Negative array index write (NEGATIVE_RETURNS) > 8. negative_returns: Using variable ret as an index to array sad->cnt_arr > > Fixes: b2ee26926775 ("ipsec: add SAD add/delete/lookup implementation") > Cc: sta...@dpdk.org > >