[dev] New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Tue Sep 5 15:45:21 EDT 2017


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 1455380:    (NULL_RETURNS)
/bgpd/bgp_route.c: 1279 in bgp_attr_add_gshut_community()
/bgpd/bgp_route.c: 1279 in bgp_attr_add_gshut_community()


________________________________________________________________________________________________________
*** CID 1455380:    (NULL_RETURNS)
/bgpd/bgp_route.c: 1279 in bgp_attr_add_gshut_community()
1273     	struct community *old;
1274     	struct community *new;
1275     	struct community *merge;
1276     	struct community *gshut;
1277     
1278     	old = attr->community;
>>>     CID 1455380:    (NULL_RETURNS)
>>>     Assigning: "gshut" = null return value from "community_str2com".
1279     	gshut = community_str2com("graceful-shutdown");
1280     
1281     	if (old) {
1282     		merge = community_merge(community_dup(old), gshut);
1283     
1284     		if (old->refcnt== 0)
/bgpd/bgp_route.c: 1279 in bgp_attr_add_gshut_community()
1273     	struct community *old;
1274     	struct community *new;
1275     	struct community *merge;
1276     	struct community *gshut;
1277     
1278     	old = attr->community;
>>>     CID 1455380:    (NULL_RETURNS)
>>>     Assigning: "gshut" = null return value from "community_str2com".
1279     	gshut = community_str2com("graceful-shutdown");
1280     
1281     	if (old) {
1282     		merge = community_merge(community_dup(old), gshut);
1283     
1284     		if (old->refcnt== 0)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeHs8691VOJpZofPkpp-2BRBqc-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnfM8ZhRxNqNEeqEUIjBzcpgpEcpTf40GB-2FaKYY3xRtD1zGp-2BzsvyB01zPTgCM0doCbW9TEEcIuaIbol9uZwNXDVu0Xvlp1XzGYEikl0UW2DZ-2BGOMVaiEWC0tTszH5spo9F-2BGydqRyYXsnEaoD2T-2B4up76PwjW8uNNt859mZ1cirQ-3D-3D

To manage Coverity Scan email notifications for "frr at lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4lcTWm1Zma8LQDNpOYqrETKrqBiM18kcBcL8b08LzBPOYJYGySZ4Vv7d5QYcnSbGxl3QyORKgEmDxh-2BE2mj6dp1V4JSs2jbMZuLnEQJOW0Z0-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnfM8ZhRxNqNEeqEUIjBzcpx0mJvasWbKX1w34OyCP0UqogszfM4-2BBsgWLxBt2GZMh48igZL-2BkywixYsVWi6uLImd-2B83LzaYJhKE13AF9mz6p8D9vglJ6WRjoGDxmauyDT2xVycEs5F7xb-2BOnTTxYe8LNaiL1icHfwB5hKcUJgEsw-3D-3D




More information about the dev mailing list