summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorYuan Yuan <yyuanam@amazon.com>2023-05-30 18:53:32 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-05-31 05:58:21 +0000
commit3b3f70fa34c28c556941e90133df9655fcf1f034 (patch)
tree8da4139d877f021f3594c79d9a35909052c4cf26 /lib/command.c
parent43bff47311accd90e9129553a070fac17f1b0072 (diff)
bgpd: fix bgpd core when unintern attr
When the remote peer is neither EBGP nor confed, aspath is the shadow copy of attr->aspath in bgp_packet_attribute(). Striping AS4_PATH should not be done on the aspath directly, since that would lead to bgpd core dump when unintern the attr. Signed-off-by: Yuan Yuan <yyuanam@amazon.com> (cherry picked from commit 32af4995aae647cf9d7c70347ec37b57279ea807)
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions