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. 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 1461144: Memory - illegal accesses (BUFFER_SIZE_WARNING) /ospfd/ospf_vty.c: 4162 in show_ip_ospf_neighbor_sub() ________________________________________________________________________________________________________ *** CID 1461144: Memory - illegal accesses (BUFFER_SIZE_WARNING) /ospfd/ospf_vty.c: 4162 in show_ip_ospf_neighbor_sub() 4156 4157 if (nbr->state == NSM_Attempt && 4158 nbr->router_id.s_addr == 0) 4159 strncpy(neigh_str, "neighbor", 4160 INET_ADDRSTRLEN); 4161 else
CID 1461144: Memory - illegal accesses (BUFFER_SIZE_WARNING) Calling strncpy with a maximum size argument of 16 bytes on destination array "neigh_str" of size 16 bytes might leave the destination string unterminated.
4162 strncpy(neigh_str, 4163 inet_ntoa(nbr->router_id), 4164 INET_ADDRSTRLEN); 4165 4166 json_object_object_get_ex(json, neigh_str, 4167 &json_neigh_array);
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05... To manage Coverity Scan email notifications for "frr@lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
participants (1)
-
scan-admin@coverity.com