sr: fix possible null-pointer dereference 85/24185/7
authorIgnas Bacius <ignas@noia.network>
Fri, 3 Jan 2020 13:05:46 +0000 (15:05 +0200)
committerDamjan Marion <dmarion@me.com>
Mon, 27 Jan 2020 21:09:34 +0000 (21:09 +0000)
commitbd5c49a1615e36260a86184d087b5b47a5e747be
tree2e05bf5da801a34bc1bd31de5bd90828b2ab69e7
parent12e3e312b1c9ea83342a504786e0eb36ede2d9d5
sr: fix possible null-pointer dereference

Steps to reproduce VPP crash:
1. configure localsid End behavior
2. ping the localsid address

Type: fix

Signed-off-by: Ignas Bacius <ignas@noia.network>
Change-Id: Id780e0875ec9cdb25252217990919fb3dddbf06a
src/plugins/srv6-am/test/test_srv6.py
src/vnet/srv6/sr_localsid.c