diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-06 10:51:08 -0400 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2018-12-06 13:54:30 +0100 |
| commit | d75681dbe9153b7e6061e1d47ab200c1f18d0911 (patch) | |
| tree | 2d63286fe9a875a04b727c098a83df841b89686d /lib/lib_errors.c | |
| parent | b01f33d05d27fd501371f63644fb5d34362f05e0 (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>
(cherry picked from commit 17cdd31e00b2ca2763c042a415bfcf03b614a783)
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
