diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-06 10:51:08 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-12 09:00:43 -0400 |
| commit | 17cdd31e00b2ca2763c042a415bfcf03b614a783 (patch) | |
| tree | 9604ddfc2bce866b4b4bccb145526ddd784e43f8 /lib/lib_errors.c | |
| parent | 99f9c2771cb6bee8ee8758bd1c31bf92bb747acf (diff) | |
bgpd: Prevent possible crash when parsing v6 attributes
The peer->nexthop.ifp pointer must be set when parsing the
attributes in bgp_mp_reach_parse, notice this
and fail gracefully.
Rework bgp_nexthop_set to remove the HAVE_CUMULUS and to
fail the nexthop_set when we have a zebra connection and
no ifp pointer, as that not havinga zebra connection and
no ifp pointer is legal.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
