diff options
author | paul <paul> | 2006-10-22 19:13:07 +0000 |
---|---|---|
committer | paul <paul> | 2006-10-22 19:13:07 +0000 |
commit | 866d3dec1a141047d0e5add3c09d477d528200b4 (patch) | |
tree | 1c5004cc6baf5f8f047050b10cdb8ccffdf0ae48 /ospfd/ospf_interface.h | |
parent | 61231539f53e30afcfbd7cdc22f111983b9b1bfe (diff) | |
download | quagga-866d3dec1a141047d0e5add3c09d477d528200b4.tar.bz2 quagga-866d3dec1a141047d0e5add3c09d477d528200b4.tar.xz |
[bgpd] struct peer must have bgp field valid (redistribute crash)
2006-10-19 Paul Jakma <paul.jakma@sun.com>
* bgpd.c: (peer_new) bgp element of peer absolutely must be
filled in, make peer_new() require it as argument and update
all callers. Fixes a crash reported by Jan 'yanek' Bortl and
Andrew Schorr where bgpd would crash in bgp_pcount_adjust
trying to dereference the bgp member of bgp->peer_self,
triggered through redistribution.
* bgp_route.c: (bgp_pcount_adjust) assert sanity of arguments.
Diffstat (limited to 'ospfd/ospf_interface.h')
0 files changed, 0 insertions, 0 deletions