numam-dpdk/lib/librte_ipsec
Vladimir Medvedkin e62893f5ec ipsec: check SAD lookup error
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

Coverity issue: 357760
Fixes: b2ee269267 ("ipsec: add SAD add/delete/lookup implementation")
Cc: stable@dpdk.org

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2020-05-11 13:17:43 +02:00
..
crypto.h replace packed attributes 2020-04-16 18:16:46 +02:00
esp_inb.c ipsec: fix use of uninitialized variable 2020-02-20 11:16:46 +01:00
esp_outb.c ipsec: fix use of uninitialized variable 2020-02-20 11:16:46 +01:00
iph.h ipsec: support header construction 2019-07-05 15:28:14 +02:00
ipsec_sad.c ipsec: check SAD lookup error 2020-05-11 13:17:43 +02:00
ipsec_sqn.h ipsec: optimize SA outbound sequence update 2020-05-11 13:17:43 +02:00
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
misc.h ipsec: fix use of uninitialized variable 2020-02-20 11:16:46 +01:00
pad.h ipsec: implement SA data-path API 2019-01-10 16:57:22 +01:00
rte_ipsec_group.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_ipsec_sa.h ipsec: remove redundant replay window size 2019-11-08 13:51:16 +01:00
rte_ipsec_sad.h ipsec: move SAD name length 2020-02-05 15:20:51 +01:00
rte_ipsec_version.map ipsec: add inbound SAD API 2019-10-23 16:57:06 +02:00
rte_ipsec.h ipsec: support CPU crypto mode 2020-02-05 15:29:59 +01:00
sa.c ipsec: optimize SA outbound sequence update 2020-05-11 13:17:43 +02:00
sa.h ipsec: optimize SA outbound sequence update 2020-05-11 13:17:43 +02:00
ses.c ipsec: support CPU crypto mode 2020-02-05 15:29:59 +01:00