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

Sa problems local #15100

Merged
merged 5 commits into from
Jan 10, 2024
Merged

Sa problems local #15100

merged 5 commits into from
Jan 10, 2024

Conversation

donaldsharp
Copy link
Member

Ran Clang SA locally found some issues. Clean some of them up. See individual commits

@frrbot frrbot bot added bgp mgmt FRR Management Infra ospfv3 pim zebra labels Jan 5, 2024
@ton31337 ton31337 self-requested a review January 6, 2024 11:23
Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ton31337
Copy link
Member

ton31337 commented Jan 9, 2024

ci:rerun CI was green, but somehow github checks showing as running yet, let's rerun

Copy link

github-actions bot commented Jan 9, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

3 different issues:

a) length never used
b) safi never used
c) length never used.

Signed-off-by: Donald Sharp <[email protected]>
I've kept the assignment in a comment because I am concerned
about new code being added later that the data pointer would
not be set correctly.  Next coder can see the commented
out line and uncomment it.

Signed-off-by: Donald Sharp <[email protected]>
SA has decided that old_re could be a NULL pointer
even though the zebra_redistribute_check function
checks for NULL and returns false that would
not allow a NULL pointer deref.

Signed-off-by: Donald Sharp <[email protected]>
@ton31337 ton31337 merged commit 26be39c into FRRouting:master Jan 10, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants