Subj : New Defects reported by Coverity Scan for Synchronet To : All From : scan-admin@coverity.com Date : Sat Sep 27 2025 12:45:34 ----==_mimepart_68d7dc6e205cb_1d74a2b4f2a4a99a449ab 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. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 630956: Control flow issues (UNREACHABLE) /sexyz.c: 439 in recv_buffer() _____________________________________________________________________________________________ *** CID 630956: Control flow issues (UNREACHABLE) /sexyz.c: 439 in recv_buffer() 433 #else 434 fd_set socket_set; 435 struct timeval tv; 436 #endif 437 int magic_errno; 438 >>> CID 630956: Control flow issues (UNREACHABLE) >>> Since the loop increment is unreachable, the loop body will never execute more than once. 439 for (;;) { 440 if (inbuf_len > inbuf_pos) 441 return inbuf_len - inbuf_pos; 442 #ifdef __unix__ 443 if (stdio) { 444 i = read(STDIN_FILENO, inbuf, sizeof(inbuf)); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview ----==_mimepart_68d7dc6e205cb_1d74a2b4f2a4a99a449ab Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit New Defects Reported - Synchronet

Hi,

Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan.

Defect Details

** CID 630956:       Control flow issues  (UNREACHABLE)
/sexyz.c: 439           in recv_buffer()


_____________________________________________________________________________________________
*** CID 630956:         Control flow issues  (UNREACHABLE)
/sexyz.c: 439             in recv_buffer()
433     #else
434     	fd_set         socket_set;
435     	struct timeval tv;
436     #endif
437     	int            magic_errno;
438
>>>     CID 630956:         Control flow issues  (UNREACHABLE)
>>>     Since the loop increment is unreachable, the loop body will never execute more than once.
439     	for (;;) {
440     		if (inbuf_len > inbuf_pos)
441     			return inbuf_len - inbuf_pos;
442     #ifdef __unix__
443     		if (stdio) {
444     			i = read(STDIN_FILENO, inbuf, sizeof(inbuf));

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team

----==_mimepart_68d7dc6e205cb_1d74a2b4f2a4a99a449ab-- --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .