diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-10-28 10:16:09 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-10-28 10:58:13 +0000 |
commit | 9f4e5d8e512e1d41b8735c1227282d713f50466d (patch) | |
tree | 22eec60e059588598675897ed21f9f14b92e5b36 /src/plugins/ioam/ioam_test.c | |
parent | c3225ddf8a3db9ee0f0d6edb7d82717d8cf20b36 (diff) |
ioam: fix coverity warning/NULL dereference
Add a NULL check and missing array index to avoid multiple NULL
derefences.
Runnning:
set ioam ip6 sr-tunnel-select disable
on a fresh VPP no longer crashes.
Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: Ia85f92024f3b14ef1c4cdb9fcf794b962cad9422
Diffstat (limited to 'src/plugins/ioam/ioam_test.c')
0 files changed, 0 insertions, 0 deletions