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

scan-admin at coverity.com scan-admin at coverity.com
Fri May 18 04:25:56 EDT 2018


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 1469172:  Error handling issues  (CHECKED_RETURN)
/bgpd/bgp_route.c: 2551 in bgp_maximum_prefix_restart_timer()


________________________________________________________________________________________________________
*** CID 1469172:  Error handling issues  (CHECKED_RETURN)
/bgpd/bgp_route.c: 2551 in bgp_maximum_prefix_restart_timer()
2545     
2546     	if (bgp_debug_neighbor_events(peer))
2547     		zlog_debug(
2548     			"%s Maximum-prefix restart timer expired, restore peering",
2549     			peer->host);
2550     
>>>     CID 1469172:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "peer_clear" without checking return value (as is done elsewhere 5 out of 6 times).
2551     	peer_clear(peer, NULL);
2552     
2553     	return 0;
2554     }
2555     
2556     int bgp_maximum_prefix_overflow(struct peer *peer, afi_t afi, safi_t safi,


________________________________________________________________________________________________________
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-2FJl-2B7vlKM4gHTR1BLtKqBlb672OMufUchYv5fBmI3MiIiNdHZaoszB3sFNWFxfaRoeFtVuUTxRAJAac96vWVME6G-2BGFN0yQ2TY4KKNJApUq-2BiXko82NpH12iBN-2F66SpbKoak-2BLLT70Ln1-2FWVCptA0JrBZlEli1-2BaVYR9Brg2opQEOA-3D-3D




More information about the dev mailing list