New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Nov 13 00:35:02 UTC 2024


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 1601739:  Control flow issues  (DEADCODE)
/bgpd/bgp_ecommunity.c: 770 in ecommunity_gettoken()


________________________________________________________________________________________________________
*** CID 1601739:  Control flow issues  (DEADCODE)
/bgpd/bgp_ecommunity.c: 770 in ecommunity_gettoken()
764     				 * upon overflow).
765     				 */
766     				if (*endptr != '\0' || tmp_as > BGP_AS4_MAX ||
767     				    errno)
768     					goto error;
769     				if (*token == ecommunity_token_color && as > 3)
>>>     CID 1601739:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "goto error;".
770     					goto error;
771     				as = (as_t)tmp_as;
772     			}
773     		} else if (*p == '.') {
774     			if (separator)
775     				goto error;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4jkWudbux5UNqYsSt9ZXO3s9m3KMDrlSX-2Bp41IzjejfmdC2hinnLY-2BZ6PvlTenLZs-3D1dV2_t0zeZlCsA34Fiw17aIfmh-2F3kFs1q7rysihvAefHXY7-2FLCytgvNi1H-2F0x17MUtUyvhgR5GjcN1-2BxSd9KLItS-2FG7Ofd-2FQkL8xdKlKp-2FVkVwNMXgd37Gq4Y2cAXQVbYKK7TbrvfPn1h1QasbSogYa-2FHorDes1VRjFu1FjK6oILR0hwBb8rCVmHcwCFK3fTRyVGae-2B9aQLNJ17Z-2BnliHEP8j7A-3D-3D




More information about the dev mailing list