examples/ipsec-secgw: fix out-of-bound check
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Wed, 27 Mar 2019 09:33:27 +0000 (09:33 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 2 Apr 2019 14:50:24 +0000 (16:50 +0200)
commit7831bcf026cf3a662c027310a04a99113500a6fe
tree1edd3e52f4f8cbac127220a5a3e30844bb4ce90e
parent728762e37ed3ea29e7270d4239e833ecc9ac0043
examples/ipsec-secgw: fix out-of-bound check

Coverity issue: 336791
Fixes: 7622291b641d ("examples/ipsec-secgw: allow to specify neighbour MAC address")
Cc: stable@dpdk.org
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/ipsec-secgw.c