Subj : New Defects reported by Coverity Scan for Synchronet To : cov-scan@synchro.net From : scan-admin@coverity.com Date : Fri Sep 25 2026 14:41:33 ----==_mimepart_6ab6881d2c31b_354bfd2b6718b7799c6040 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan. 1 new defect(s) introduced to Synchronet 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 656507: Error handling issues (CHECKED_RETURN) /tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open() _____________________________________________________________________________________________ *** CID 656507: Error handling issues (CHECKED_RETURN) /tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open() 1524 FILE* fp; 1525 1526 /* A pipe is one-way, so the bidirectional mode gets a socket pair, 1527 which is what the BSD popen() uses for it. */ 1528 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) != 0) 1529 return NULL; >>> CID 656507: Error handling issues (CHECKED_RETURN) >>> Calling "fcntl(sv[0], 2, 1)" without checking return value. This library function may fail and return an error code. 1530 fcntl(sv[0], F_SETFD, FD_CLOEXEC); /* our end isn't the command's */ 1531 if ((pid = fork()) == 0) { 1532 close(sv[0]); 1533 dup2(sv[1], STDIN_FILENO); 1534 dup2(sv[1], STDOUT_FILENO); 1535 if (sv[1] > STDERR_FILENO) ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview ----==_mimepart_6ab6881d2c31b_354bfd2b6718b7799c6040 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
Hi,
Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan.
** CID 656507: Error handling issues (CHECKED_RETURN)
/tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open()
_____________________________________________________________________________________________
*** CID 656507: Error handling issues (CHECKED_RETURN)
/tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open()
1524 FILE* fp;
1525
1526 /* A pipe is one-way, so the bidirectional mode gets a socket pair,
1527 which is what the BSD popen() uses for it. */
1528 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) != 0)
1529 return NULL;
>>> CID 656507: Error handling issues (CHECKED_RETURN)
>>> Calling "fcntl(sv[0], 2, 1)" without checking return value. This library function may fail and return an error code.
1530 fcntl(sv[0], F_SETFD, FD_CLOEXEC); /* our end isn't the command's */
1531 if ((pid = fork()) == 0) {
1532 close(sv[0]);
1533 dup2(sv[1], STDIN_FILENO);
1534 dup2(sv[1], STDOUT_FILENO);
1535 if (sv[1] > STDERR_FILENO)
Best regards,
The Coverity Scan Admin Team