]> git.proxmox.com Git - mirror_frr.git/commit - pbrd/pbr_map.c
pbrd: fix null pointer deref when showing ifaces
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 20 Mar 2018 20:19:26 +0000 (16:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 6 Apr 2018 17:22:43 +0000 (13:22 -0400)
commitf1c3fe1b44bb43ac8491f09f2b4f3af265a1829d
treef7013cdeb8d20330de83a8ee92d6f05e33a7c7d5
parente042a421d143b0e8fb360fa22c00718aea9f49a8
pbrd: fix null pointer deref when showing ifaces

If there are no PBR interfaces configured and we do a 'show run', pbrd
crashes with a NPD when it tries to dereference ifp->info.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
pbrd/pbr_map.c