sr: fix possible null-pointer dereference 06/28306/1
authorIgnas Bacius <ignas@noia.network>
Fri, 3 Jan 2020 13:05:46 +0000 (15:05 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 12 Aug 2020 15:59:46 +0000 (15:59 +0000)
commit06c104f4e3cba6a826603188662083a0efea54a8
tree142f056161c6c8ea075cf0aec8e4577374463498
parent5c3aab42120cdeaf5513a8344d0af0630342b1bb
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
(cherry picked from commit bd5c49a1615e36260a86184d087b5b47a5e747be)
src/plugins/srv6-am/test/test_srv6.py
src/vnet/srv6/sr_localsid.c