[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Tue May 23 03:07:47 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 1437234: Resource leaks (RESOURCE_LEAK)
/ospf6d/ospf6_area.c: 230 in ospf6_area_create()
________________________________________________________________________________________________________
*** CID 1437234: Resource leaks (RESOURCE_LEAK)
/ospf6d/ospf6_area.c: 230 in ospf6_area_create()
224 snprintf (oa->name, sizeof (oa->name), "%u", ntohl (area_id));
225 break;
226 case OSPF6_AREA_FMT_DOTTEDQUAD:
227 inet_ntop (AF_INET, &area_id, oa->name, sizeof (oa->name));
228 break;
229 default:
>>> CID 1437234: Resource leaks (RESOURCE_LEAK)
>>> Variable "oa" going out of scope leaks the storage it points to.
230 return NULL;
231 }
232
233 oa->area_id = area_id;
234 oa->if_list = list_new ();
235
________________________________________________________________________________________________________
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-2FJnvQ-2Bj0ofa9Q5j9aa7-2F0JxQ6oo4iM74q7FkLou8Latjvi4vce6xpqIzewA6AnDhbQ4IMQ5oPJPiWPJAAIczIfhDOtUVG3-2FXwBAZ07FugThTkirz-2FI2rR5eMzNVa9pbloybQ4IicHc7WrN6jzHoRrn8z9kvnh-2FyfJLTFWBtTOm8SMg-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-2FJnvQ-2Bj0ofa9Q5j9aa7-2F0JxQpHoAwN2LS-2BmqGLXgz3Zm-2Bca4-2FMclpftNnVe7XH7wGqYU0f0R7mVeHNc0XAzsi05i7kYE7FaFYLPq5xXs1qLINTYTJVKgjmFIh9L-2BzGtL4oNLdM4eL-2BW8LCb5CW3BUfkea-2FmmNJP6oY4cbjEkyEpwag-3D-3D
More information about the dev
mailing list