Skip to content

Conversation

@hnattamaisub
Copy link

This commit addresses null pointer dereferences in bgpd folder alone.

@frrbot frrbot bot added the bgp label Oct 10, 2025
@ton31337
Copy link
Member

Please split into separate commits and write in the commits what Coverity issue is solved here.

This commit addresses null pointer dereferences in bgpd folder.

Description:
1) Added NULL checks wherever it is missed in bgpd.
2) For bgpd/bgpd.c , added comment for why the changes is done
and its necessity.
3) Assert is added in one place for CID 19511 (bgp_packet.c) instead
of silent NULL check.

Signed-off-by: Harini Subramanian <[email protected]>
@ton31337
Copy link
Member

Please split into separate commits (each coverity) and apply the slying too (see frrbot).

@riw777 riw777 self-requested a review October 14, 2025 15:14
@hnattamaisub
Copy link
Author

Added new PR with single commit for each coverity as suggested

@hnattamaisub hnattamaisub deleted the coverity_bgpd branch October 31, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants