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 1503803: Error handling issues (NEGATIVE_RETURNS) /nhrpd/linux.c: 75 in os_sendmsg() ________________________________________________________________________________________________________ *** CID 1503803: Error handling issues (NEGATIVE_RETURNS) /nhrpd/linux.c: 75 in os_sendmsg() 69 lladdr.sll_family = AF_PACKET; 70 lladdr.sll_protocol = htons(protocol); 71 lladdr.sll_ifindex = ifindex; 72 lladdr.sll_halen = addrlen; 73 memcpy(lladdr.sll_addr, addr, addrlen); 74
CID 1503803: Error handling issues (NEGATIVE_RETURNS) "os_socket()" is passed to a parameter that cannot be negative.
75 status = sendmsg(os_socket(), &msg, 0); 76 if (status < 0) 77 return -errno; 78 79 return status; 80 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com