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 1534606: Integer handling issues (CONSTANT_EXPRESSION_RESULT) /bgpd/bgpd.c: 2766 in peer_group2peer_config_copy() ________________________________________________________________________________________________________ *** CID 1534606: Integer handling issues (CONSTANT_EXPRESSION_RESULT) /bgpd/bgpd.c: 2766 in peer_group2peer_config_copy() 2760 /* capability extended-nexthop apply */ 2761 if (!CHECK_FLAG(peer->flags_override, PEER_FLAG_CAPABILITY_ENHE)) 2762 if (CHECK_FLAG(conf->flags, PEER_FLAG_CAPABILITY_ENHE)) 2763 SET_FLAG(peer->flags, PEER_FLAG_CAPABILITY_ENHE); 2764 2765 /* capability software-version apply */
CID 1534606: Integer handling issues (CONSTANT_EXPRESSION_RESULT) "peer->flags_override & (68719476736ULL /* 1ULL << 36 */)" is always 0 regardless of the values of its operands. This occurs as the logical operand of "!".
2766 if (!CHECK_FLAG(peer->flags_override, 2767 PEER_FLAG_CAPABILITY_SOFT_VERSION)) 2768 if (CHECK_FLAG(conf->flags, PEER_FLAG_CAPABILITY_SOFT_VERSION)) 2769 SET_FLAG(peer->flags, 2770 PEER_FLAG_CAPABILITY_SOFT_VERSION); 2771
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...