New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Wed Aug 9 12:27:07 UTC 2023
Hi,
Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
1 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
4 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1566808: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1566808: Null pointer dereferences (FORWARD_NULL)
/bgpd/bgp_mplsvpn.c: 1232 in leak_update()
1226 (struct bgp_dest *)parent->net);
1227 if (bgp_orig)
1228 new->extra->vrfleak->bgp_orig = bgp_lock(bgp_orig);
1229 if (nexthop_orig)
1230 new->extra->vrfleak->nexthop_orig = *nexthop_orig;
1231
>>> CID 1566808: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "bgp_orig" to "leak_update_nexthop_valid", which dereferences it.
1232 if (leak_update_nexthop_valid(to_bgp, bn, new_attr, afi, safi,
1233 source_bpi, new, bgp_orig, p, debug))
1234 bgp_path_info_set_flag(bn, new, BGP_PATH_VALID);
1235 else
1236 bgp_path_info_unset_flag(bn, new, BGP_PATH_VALID);
1237
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DYhUD_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTw49p-2BVpPgIIId2vXGccBpjaRGxuxBUUp40Wc-2B9l5GxGnDPqTXP7WCbf25uOgukfofg6KoE5QckDX-2BGD7hT-2BI2RMJV5amfo9Hhn1FPRcQABHDzVIawo5v-2BNamR6KqnIj4U-2F5kDguIJjQLSheF5mM7Ea0nLvdeBUAUhMo9u1sJTz0Q-3D-3D
More information about the dev
mailing list