BBS:      TELESC.NET.BR
Assunto:  New Defects reported by Coverity Scan for Synchronet
De:       scan-admin@coverity.com
Data:     Thu, 7 May 2026 19:14:31 +0000
-----------------------------------------------------------
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.
40 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 645990:       Control flow issues  (NO_EFFECT)
/writemsg.cpp: 414           in sbbs_t::writemsg(const char *, const char *, char *, int, int, const char *, const char *, const char **, const char **)()


_____________________________________________________________________________________________
*** CID 645990:         Control flow issues  (NO_EFFECT)
/writemsg.cpp: 414             in sbbs_t::writemsg(const char *, const char *, char *, int, int, const char *, const char *, const char **, const char **)()
408     				free(buf);
409     				fclose(stream);
410     				return false;
411     			}
412
413     			l = (long)ftell(stream);          /* l now points to start of message */
>>>     CID 645990:         Control flow issues  (NO_EFFECT)
>>>     This less-than-zero comparison of an unsigned value is never true. "l < 0U".
414     			if (l < 0) {
415     				errormsg(WHERE, ERR_LEN, msgtmp, 0);
416     				fclose(stream);
417     				close(file);
418     				free(buf);
419     				return false;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


n
---
 * mSynchronetn * hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]