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. 2 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 1 of 1 defect(s) ** CID 1457320: Error handling issues (NEGATIVE_RETURNS) /ldpd/ldpd.c: 453 in start_child() ________________________________________________________________________________________________________ *** CID 1457320: Error handling issues (NEGATIVE_RETURNS) /ldpd/ldpd.c: 453 in start_child() 447 close(fd_async); 448 close(fd_sync); 449 return (pid); 450 } 451 452 nullfd = open("/dev/null", O_RDONLY | O_NOCTTY);
CID 1457320: Error handling issues (NEGATIVE_RETURNS) "nullfd" is passed to a parameter that cannot be negative.
453 dup2(nullfd, 0); 454 dup2(nullfd, 1); 455 dup2(nullfd, 2); 456 close(nullfd); 457 458 if (dup2(fd_async, LDPD_FD_ASYNC) == -1)
________________________________________________________________________________________________________ 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