Just a sample of the Echomail archive
SYNC_PRO:
[ << oldest | < older | list | newer > | newest >> ]
|  Message 48,616 of 48,864  |
|  scan-admin@coverity.com to All  |
|  New Defects reported by Coverity Scan fo  |
|  10 Jan 26 13:44:53  |
 
TZUTC: 0000
MSGID: 54047.syncprog@1:103/705 2dc860f7
PID: Synchronet 3.21b-Linux master/7ed899d1c Jan 06 2026 GCC 12.2.0
TID: SBBSecho 3.34-Linux master/5090be897 Jan 08 2026 GCC 12.2.0
BBSID: VERT
CHRS: ASCII 1
FORMAT: flowed
----==_mimepart_696257d4e4005_22599f2afbc97ad9ac59824
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 640959: (CHECKED_RETURN)
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 479 in add_suffix()
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 481 in add_suffix()
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 483 in add_suffix()
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 480 in add_suffix()
________________________________________________________________
____________________________
*** CID 640959: (CHECKED_RETURN)
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 479 in add_suffix()
473 char* p = strstr(str, ".0");
474 if (p != NULL && *(p + 2) == '\0') // remove trailing ".0"
475 *p = '\0';
476 if (strcmp(str, "1") == 0)
477 plural = "";
478 if (is_word) {
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as is done elsewhere
29 out of 33 times).
479 strlcat(str, " ", size);
480 strlcat(str, suffix, size);
481 strlcat(str, plural, size);
482 } else
483 strlcat(str, suffix, size);
484 }
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 481 in add_suffix()
475 *p = '\0';
476 if (strcmp(str, "1") == 0)
477 plural = "";
478 if (is_word) {
479 strlcat(str, " ", size);
480 strlcat(str, suffix, size);
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as is done elsewhere
29 out of 33 times).
481 strlcat(str, plural, size);
482 } else
483 strlcat(str, suffix, size);
484 }
485
486 /* Convert a duration estimate (in seconds) to a string
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 483 in add_suffix()
477 plural = "";
478 if (is_word) {
479 strlcat(str, " ", size);
480 strlcat(str, suffix, size);
481 strlcat(str, plural, size);
482 } else
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as is done elsewhere
29 out of 33 times).
483 strlcat(str, suffix, size);
484 }
485
486 /* Convert a duration estimate (in seconds) to a string
487 * with a single letter multiplier/suffix:
488 * (y)ears, (w)eeks, (d)ays, (h)ours, (m)inutes, or (s)econds
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 480 in add_suffix()
474 if (p != NULL && *(p + 2) == '\0') // remove trailing ".0"
475 *p = '\0';
476 if (strcmp(str, "1") == 0)
477 plural = "";
478 if (is_word) {
479 strlcat(str, " ", size);
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as is done elsewhere
29 out of 33 times).
480 strlcat(str, suffix, size);
481 strlcat(str, plural, size);
482 } else
483 strlcat(str, suffix, size);
484 }
485
________________________________________________________________
_______________________________________
To view the defects in Coverity Scan visit, https://scan.coverit
.com/projects/synchronet?tab=overview
----==_mimepart_696257d4e4005_22599f2afbc97ad9ac59824
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Defect Details
** CID 640959: (CHECKED_RETURN)
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 479 in add_suffix()
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 481 in add_suffix()
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 483 in add_suffix()
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 480 in add_suffix()
________________________________________________________________
____________________________
*** CID 640959: (CHECKED_RETURN)
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 479 in add_suffix()
473 char* p = strstr(str, ".0");
474 if (p != NULL && *(p + 2) == '\0') // remove trailing
".0"
475 *p = '\0';
476 if (strcmp(str, "1") == 0)
477 plural = "";
478 if (is_word) {
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as
is done elsewhere 29 out of 33 times).
479 strlcat(str, " ", size);
480 strlcat(str, suffix, size);
481 strlcat(str, plural, size);
482 } else
483 strlcat(str, suffix, size);
484 }
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 481 in add_suffix()
475 *p = '\0';
476 if (strcmp(str, "1") == 0)
477 plural = "";
478 if (is_word) {
479 strlcat(str, " ", size);
480 strlcat(str, suffix, size);
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as
is done elsewhere 29 out of 33 times).
481 strlcat(str, plural, size);
482 } else
483 strlcat(str, suffix, size);
484 }
485
486 /* Convert a duration estimate (in seconds) to a string
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 483 in add_suffix()
477 plural = "";
478 if (is_word) {
479 strlcat(str, " ", size);
480 strlcat(str, suffix, size);
481 strlcat(str, plural, size);
482 } else
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as
is done elsewhere 29 out of 33 times).
483 strlcat(str, suffix, size);
484 }
485
486 /* Convert a duration estimate (in seconds) to a string
487 * with a single letter multiplier/suffix:
488 * (y)ears, (w)eeks, (d)ays, (h)ours, (m)inutes, or (s)econds
/tmp/sbbs-Jan-10-2026/src/xpdev/genwrap.c: 480 in add_suffix()
474 if (p != NULL && *(p + 2) == '\0') // remove trailing
".0"
475 *p = '\0';
476 if (strcmp(str, "1") == 0)
477 plural = "";
478 if (is_word) {
479 strlcat(str, " ", size);
>>> CID 640959: (CHECKED_RETURN)
>>> Calling "strlcat" without checking return value (as
is done elsewhere 29 out of 33 times).
480 strlcat(str, suffix, size);
481 strlcat(str, plural, size);
482 } else
483 strlcat(str, suffix, size);
484 }
485
Best regards, The Coverity Scan Admin Team |
[ << oldest | < older | list | newer > | newest >> ]
(c) 1994, bbs@darkrealms.ca