Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    SYNC_PROGRAMMING    |    Synchronet/Baja/XSDK Programming    |    49,116 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 47,167 of 49,116    |
|    scan-admin@coverity.com to All    |
|    New Defects reported by Coverity Scan fo    |
|    18 Aug 25 13:37:12    |
   
   TZUTC: 0000   
   MSGID: 52561.syncprog@1:103/705 2d092fdb   
   PID: Synchronet 3.21a-Linux master/7a66d7f63 Aug 10 2025 GCC 12.2.0   
   TID: SBBSecho 3.29-Linux master/27cbebcb9 Aug 10 2025 GCC 12.2.0   
   BBSID: VERT   
   CHRS: ASCII 1   
   FORMAT: flowed   
      
   ----==_mimepart_68a32c876d3fd_16fcff2e2b69fdf990236c2   
   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 584091: (Y2K38_SAFETY)   
   /logon.cpp: 631 in sbbs_t::logonstats()()   
   /logon.cpp: 642 in sbbs_t::logonstats()()   
   /logon.cpp: 638 in sbbs_t::logonstats()()   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 584091: (Y2K38_SAFETY)   
   /logon.cpp: 631 in sbbs_t::logonstats()()   
   625 errormsg(WHERE, ERR_READ, "system stats");   
   626 return 0;   
   627 }   
   628   
   629 now = time(NULL);   
   630 if (stats.date > now + (24L * 60L * 60L)) /* More than a day in the   
   future? */   
   >>> CID 584091: (Y2K38_SAFETY)   
   >>> A "time_t" value is stored in an integer with too few bits to   
   accommodate it. The expression "stats.date" is cast to "int".   
   631 errormsg(WHERE, ERR_CHK, "Daily stats date/time stamp",   
   (int)stats.date);   
   632   
   633 if (!dates_are_same(now, stats.date)) {   
   634   
   635 struct tm tm{};   
   636 struct tm update_tm{};   
   /logon.cpp: 642 in sbbs_t::logonstats()()   
   636 struct tm update_tm{};   
   637 if (localtime_r(&stats.date, &update_tm) == NULL) {   
   638 errormsg(WHERE, ERR_CHK, "Daily stats date/time break down",   
   (int)stats.date);   
   639 return 0;   
   640 }   
   641 if (localtime_r(&now, &tm) == NULL) {   
   >>> CID 584091: (Y2K38_SAFETY)   
   >>> A "time_t" value is stored in an integer with too few bits to   
   accommodate it. The expression "stats.date" is cast to "int".   
   642 errormsg(WHERE, ERR_CHK, "Current date/time break down",   
   (int)stats.date);   
   643 return 0;   
   644 }   
   645   
   646 sys_status |= SS_NEW_DAY;   
   647 if (tm.tm_mon != update_tm.tm_mon)   
   /logon.cpp: 638 in sbbs_t::logonstats()()   
   632   
   633 if (!dates_are_same(now, stats.date)) {   
   634   
   635 struct tm tm{};   
   636 struct tm update_tm{};   
   637 if (localtime_r(&stats.date, &update_tm) == NULL) {   
   >>> CID 584091: (Y2K38_SAFETY)   
   >>> A "time_t" value is stored in an integer with too few bits to   
   accommodate it. The expression "stats.date" is cast to "int".   
   638 errormsg(WHERE, ERR_CHK, "Daily stats date/time break down",   
   (int)stats.date);   
   639 return 0;   
   640 }   
   641 if (localtime_r(&now, &tm) == NULL) {   
   642 errormsg(WHERE, ERR_CHK, "Current date/time break down",   
   (int)stats.date);   
   643 return 0;   
      
      
   ________________________________________________________________   
   _______________________________________   
   To view the defects in Coverity Scan visit, https://scan.coverit   
   .com/projects/synchronet?tab=overview   
      
      
   ----==_mimepart_68a32c876d3fd_16fcff2e2b69fdf990236c2   
   Content-Type: text/html; charset=us-ascii   
   Content-Transfer-Encoding: 7bit   
      
      
      
      
       
   
Defect Details          
   ** CID 584091: (Y2K38_SAFETY)   
   /logon.cpp: 631 in sbbs_t::logonstats()()   
   /logon.cpp: 642 in sbbs_t::logonstats()()   
   /logon.cpp: 638 in sbbs_t::logonstats()()   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 584091: (Y2K38_SAFETY)   
   /logon.cpp: 631 in sbbs_t::logonstats()()   
   625 errormsg(WHERE, ERR_READ, "system stats");   
   626 return 0;   
   627 }   
   628   
   629 now = time(NULL);   
   630 if (stats.date > now + (24L * 60L * 60L)) /* More than a day in   
   the future? */   
   >>> CID 584091: (Y2K38_SAFETY)   
   >>> A "time_t" value is stored in an integer with too   
   few bits to accommodate it. The expression "stats.date" is cast to   
   "int".   
   631 errormsg(WHERE, ERR_CHK, "Daily stats date/time stamp",   
   (int)stats.date);   
   632   
   633 if (!dates_are_same(now, stats.date)) {   
   634   
   635 struct tm tm{};   
   636 struct tm update_tm{};   
   /logon.cpp: 642 in sbbs_t::logonstats()()   
   636 struct tm update_tm{};   
   637 if (localtime_r(&stats.date, &update_tm) == NULL) {   
   638 errormsg(WHERE, ERR_CHK, "Daily stats date/time break   
   down", (int)stats.date);   
   639 return 0;   
   640 }   
   641 if (localtime_r(&now, &tm) == NULL) {   
   >>> CID 584091: (Y2K38_SAFETY)   
   >>> A "time_t" value is stored in an integer with too   
   few bits to accommodate it. The expression "stats.date" is cast to   
   "int".   
   642 errormsg(WHERE, ERR_CHK, "Current date/time break down",   
   (int)stats.date);   
   643 return 0;   
   644 }   
   645   
   646 sys_status |= SS_NEW_DAY;   
   647 if (tm.tm_mon != update_tm.tm_mon)   
   /logon.cpp: 638 in sbbs_t::logonstats()()   
   632   
   633 if (!dates_are_same(now, stats.date)) {   
   634   
   635 struct tm tm{};   
   636 struct tm update_tm{};   
   637 if (localtime_r(&stats.date, &update_tm) == NULL) {   
   >>> CID 584091: (Y2K38_SAFETY)   
   >>> A "time_t" value is stored in an integer with too   
   few bits to accommodate it. The expression "stats.date" is cast to   
   "int".   
   638 errormsg(WHERE, ERR_CHK, "Daily stats date/time break   
   down", (int)stats.date);   
   639 return 0;   
   640 }   
   641 if (localtime_r(&now, &tm) == NULL) {   
   642 errormsg(WHERE, ERR_CHK, "Current date/time break down",   
   (int)stats.date);   
   643 return 0;   
      
       
      
            View Defects in Coverity Scan                      Best regards,        The Coverity Scan Admin Team         |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca