]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: rfapi xcallocs guaranteed non-null
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 11 Apr 2018 18:14:06 +0000 (14:14 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 13 Apr 2018 21:17:42 +0000 (17:17 -0400)
commit316f27e169adaed23985c10e53572b23944e8470
tree76fa6cc55077c85dbc966bbaddbadaf0b1aa07ec
parent039c1e8d4f858661a4211ba16145d6c53c49b8ba
bgpd: rfapi xcallocs guaranteed non-null

The return value of XCALLOC will always be non-null. Even if it were to
be null, this code would still crash with a NPD.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/rfapi/bgp_rfapi_cfg.c