summaryrefslogtreecommitdiff
path: root/python/xref2vtysh.py
diff options
context:
space:
mode:
authorSamanvitha B Bhargav <bsamanvitha@vmware.com>2023-08-01 23:10:35 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-08-02 17:49:01 +0000
commit5dcb6093f964b24e1bb929aa261572a4e6670f74 (patch)
tree390594c178e02a65b56265f0aa30a2a766b43bce /python/xref2vtysh.py
parent5ebb9c962e0a81b77b706323084eeecfb5db28b3 (diff)
bgpd: Fix session reset issue caused by malformed core attributes
RCA: On encountering any attribute error for core attributes in update message, the error handling is set to 'treat as withdraw' and further parsing of the remaining attributes is skipped. But the stream pointer is not being correctly adjusted to point to the next NLRI field skipping the rest of the attributes. This leads to incorrect parsing of the NLRI field, which causes BGP session to reset. Fix: The stream pointer offset is rightly adjusted to point to the NLRI field correctly when the malformed attribute is encountered and remaining attribute parsing is skipped. Signed-off-by: Samanvitha B Bhargav <bsamanvitha@vmware.com> (cherry picked from commit 70ff940fd1cbf920958116c558150ca5d3200eb8)
Diffstat (limited to 'python/xref2vtysh.py')
0 files changed, 0 insertions, 0 deletions