New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Fri Dec 8 00:21:17 UTC 2023


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 1574320:  Memory - illegal accesses  (USE_AFTER_FREE)
/zebra/zebra_rib.c: 1454 in rib_process()


________________________________________________________________________________________________________
*** CID 1574320:  Memory - illegal accesses  (USE_AFTER_FREE)
/zebra/zebra_rib.c: 1454 in rib_process()
1448     	/*
1449     	 * If zebra has a new_selected and a proto_re_changed
1450     	 * entry that was not the old selected and the protocol
1451     	 * is different, zebra should notify the upper level
1452     	 * protocol that the sent down entry was not selected
1453     	 */
>>>     CID 1574320:  Memory - illegal accesses  (USE_AFTER_FREE)
>>>     Dereferencing freed pointer "proto_re_changed".
1454     	if (new_selected && proto_re_changed &&
1455     	    proto_re_changed != old_selected &&
1456     	    new_selected->type != proto_re_changed->type) {
1457     		struct rib_table_info *info = srcdest_rnode_table_info(rn);
1458     
1459     		zsend_route_notify_owner(rn, proto_re_changed,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BoAJF92cCodBN9BBnDbw-2FFg-3D3ML6_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTxMycNNkASZDaQ10XoHoCcBUVIDDXtqJKWBNpOBKdokH1uHsRKZ33TpO6Lotk0h1hjs5Uq25Oml9xIpG5r5YHaHDl23il-2FvmnYJVwj1Oj-2FybxlneCe7VGYtVzs7oPZUbOY0jDL88b2IcOBuyLVMX5B5ZMn3AqYlGTYJhPwJDWBKvw-3D-3D




More information about the dev mailing list