]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_mpls.c
zebra: Fix crash with dereference of NULL pointer
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 15 Apr 2017 12:42:18 +0000 (08:42 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 15 Apr 2017 17:26:56 +0000 (13:26 -0400)
commit95169c2f785d09aebd6c0e25bf311ecc185fb61a
treecef2524f6faf7b92f6a68fde726d272db12d975b
parentb3b3879c3e65606370bdfaaf5781645a2381d8b9
zebra: Fix crash with dereference of NULL pointer

We only create the v4 and v6 mpls fec tables currently.
Follow the code pattern for the rest of the code and
ensure that the table exists before we attempt to access it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_mpls.c