New Defects reported by Coverity Scan for freerangerouting/frr
Hi, Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 2 new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 105 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1568249: Null pointer dereferences (FORWARD_NULL) ________________________________________________________________________________________________________ *** CID 1568249: Null pointer dereferences (FORWARD_NULL) /isisd/isis_route.c: 966 in isis_route_switchover_nexthop() 960 continue; 961 962 srcdest_rnode_prefixes(rnode, (const struct prefix **)&prefix, 963 (const struct prefix **)&src_p); 964 965 /* Switchover route. */
CID 1568249: Null pointer dereferences (FORWARD_NULL) Passing null pointer "area" to "isis_route_remove_previous_sid", which dereferences it.
966 isis_route_remove_previous_sid(area, prefix, rinfo); 967 UNSET_FLAG(rinfo->flag, ISIS_ROUTE_FLAG_ZEBRA_SYNCED); 968 isis_route_update(area, prefix, src_p, rinfo->backup); 969 970 isis_route_info_delete(rinfo); 971 972 rnode->info = NULL; 973 route_unlock_node(rnode); 974 }
** CID 1568248: API usage errors (USE_AFTER_FREE) /pimd/pim_ssmpingd.c: 188 in ssmpingd_socket() ________________________________________________________________________________________________________ *** CID 1568248: API usage errors (USE_AFTER_FREE) /pimd/pim_ssmpingd.c: 188 in ssmpingd_socket() 182 set_nonblocking(fd); 183 sockopt_reuseaddr(fd); 184 185 ret = ssmpingd_setsockopt(fd, addr, mttl); 186 if (ret) { 187 zlog_warn("ssmpingd_setsockopt failed");
CID 1568248: API usage errors (USE_AFTER_FREE) Calling "close(int)" closes handle "fd" which has already been closed.
188 close(fd); 189 return -1; 190 } 191 192 return fd; 193 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com