mpls_shim_pop() can return NULL. Check it else we end up dereferencing NULL.
authorclaudio <claudio@openbsd.org>
Fri, 8 Dec 2017 21:52:49 +0000 (21:52 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 8 Dec 2017 21:52:49 +0000 (21:52 +0000)
commitb896ab8b49037d751af8a8bb8c325ae7c44680e3
tree88007be65aeb070d319a3f7f6fd6cb021a88c45d
parent06e069b51f3238a02b320da0261e16e0fcc15178
mpls_shim_pop() can return NULL. Check it else we end up dereferencing NULL.
Issue reported by Maxime Villard
OK bluhm@ deraadt@
sys/netmpls/mpls_input.c