Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bgp coverity fix #13864

Merged
merged 2 commits into from
Jun 29, 2023
Merged

Bgp coverity fix #13864

merged 2 commits into from
Jun 29, 2023

Commits on Jun 28, 2023

  1. bgpd: fix covery scan 1566054 with null pointer

    The bmnc pointer is never null. Do not keep the test
    on the pointer.
    
    Fixes: 1069425 ("bgpd: allocate label bound to received mpls vpn routes")
    Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
    pguibert6WIND committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    81664e7 View commit details
    Browse the repository at this point in the history
  2. bgpd: fix covery 1566055, label table overrun

    In case the full label stack is used, there may be
    a table overrun happening. Avoid it by increasing the
    size of the table.
    
    Fixes: 27f4dee ("bgpd: update the mpls entry to handle return traffic")
    Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
    pguibert6WIND committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    bf11a19 View commit details
    Browse the repository at this point in the history