]> git.puffer.fish Git - mirror/frr.git/commit
pimd: fix some null pointer derefs in cli 1227/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 22 Sep 2017 21:15:33 +0000 (17:15 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 22 Sep 2017 21:27:20 +0000 (17:27 -0400)
commit21b3e44eb495943dfd0c876216086af89fd1cefd
treeedfcbee1b1196e0493443431230c56c86a6547e8
parentb1cebe20cd1b5663cc2a47a99ac94dac046b8610
pimd: fix some null pointer derefs in cli

If pim/igmp is not enabled on an interface, the ->info pointer will be
null. Need to check that before dereferencing it.

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