New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed May 5 09:18:00 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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1504610:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1504610:  Uninitialized variables  (UNINIT)
/zebra/connected.c: 437 in connected_down()
431     	 * one.
432     	 */
433     	for (ALL_LIST_ELEMENTS_RO(ifp->connected, cnode, c)) {
434     		struct prefix cp;
435     
436     		PREFIX_COPY(&cp, CONNECTED_PREFIX(c));
>>>     CID 1504610:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "cp.family" when calling "apply_mask".
437     		apply_mask(&cp);
438     
439     		if (prefix_same(&p, &cp))
440     			count++;
441     
442     		if (count >= 2)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3Dtg2V_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTwgT0BhYPZcgsYM-2F285A-2FvaLOgakpFaWatzplJce9sbEOqAAB1a-2BVRmEj94wpMhZdSOFeKZ-2BxpcH8VHVvYtd6FfpdKxaHKZvQ5ysEfZM-2F-2BnxAgrrRX7wPVUDZglXSg-2BeLvdqlyQ-2FjynEMv6V3Z2IS07AMAd3cM83GNtpssFv-2FKs2w-3D-3D




More information about the dev mailing list