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. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1436535: (RESOURCE_LEAK) /bgpd/bgp_updgrp_packet.c: 454 in bpacket_reformat_for_peer() /bgpd/bgp_updgrp_packet.c: 545 in bpacket_reformat_for_peer() ________________________________________________________________________________________________________ *** CID 1436535: (RESOURCE_LEAK) /bgpd/bgp_updgrp_packet.c: 454 in bpacket_reformat_for_peer() 448 offset_nh += 8; 449 break; 450 default: 451 /* TODO: handle IPv6 nexthops */ 452 zlog_warn ("%s: %s: invalid MP nexthop length (AFI IP): %u", 453 __func__, peer->host, nhlen);
CID 1436535: (RESOURCE_LEAK) Variable "s" going out of scope leaks the storage it points to.
454 return NULL; 455 } 456 457 stream_get_from (&v4nh, s, offset_nh, IPV4_MAX_BYTELEN); 458 mod_v4nh = &v4nh; 459 /bgpd/bgp_updgrp_packet.c: 545 in bpacket_reformat_for_peer() 539 offset_nhlocal += 8 * 2 + IPV6_MAX_BYTELEN; 540 break; 541 default: 542 /* TODO: handle IPv4 nexthops */ 543 zlog_warn ("%s: %s: invalid MP nexthop length (AFI IP6): %u", 544 __func__, peer->host, nhlen);
CID 1436535: (RESOURCE_LEAK) Variable "s" going out of scope leaks the storage it points to.
545 return NULL; 546 } 547 548 stream_get_from (&v6nhglobal, s, offset_nhglobal, IPV6_MAX_BYTELEN); 549 if (route_map_sets_nh) 550 {
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05... To manage Coverity Scan email notifications for "frr@lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...