New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Aug 25 09:16:47 UTC 2021


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.
1 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 1506591:  Control flow issues  (DEADCODE)
/pimd/pim_igmpv3.c: 548 in allow()


________________________________________________________________________________________________________
*** CID 1506591:  Control flow issues  (DEADCODE)
/pimd/pim_igmpv3.c: 548 in allow()
542     		  GMI, accomplishes this.
543     		*/
544     		igmp_source_reset_gmi(igmp, group, source);
545     
546     	} /* scan received sources */
547     
>>>     CID 1506591:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "group->group_filtermode_isexcl" inside this statement: "if (num_sources == 0 && gro...".
548     	if ((num_sources == 0) && (group->group_filtermode_isexcl)
549     	    && (listcount(group->group_source_list) == 1)) {
550     		struct in_addr star = {.s_addr = INADDR_ANY};
551     
552     		source = igmp_find_source_by_addr(group, star);
553     		if (source)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3Dgavg_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTxwlr2-2BE-2BDW1IFnsJx1CC4ei5-2B-2BsoRHYSeLlwVrXTwrREp9RosT7Am-2BrdiycdnCE31xDq65FVSunTgRUi6I6TYWudb5qwoag68yX19HDx2ydTTS-2BstY39s8OJ89tkh2stxDrzs6M7OVFWKEVYL7bappp3CD9UrsONttBIFPjha-2BGg-3D-3D




More information about the dev mailing list