home bbs files messages ]

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   
      
      
      
      
        
     New Defects Reported - Synchronet   
        
      
      
     

Hi,

              

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

              
           
  • New Defects Found: 1
  •        
  • Defects Shown: Showing 1 of 1 defect(s)
  •        
              

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

                             ----==_mimepart_68a32c876d3fd_16fcff2e2b69fdf990236c2--              --- SBBSecho 3.29-Linux        * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)       SEEN-BY: 103/705 105/81 106/201 124/5016 128/187 129/14 153/757 7715       SEEN-BY: 154/10 30 110 203/0 218/700 221/0 226/30 227/114 229/110       SEEN-BY: 229/114 206 317 400 426 428 470 700 705 240/1120 5832 263/1       SEEN-BY: 266/512 280/464 5003 5006 291/111 292/8125 301/1 320/219       SEEN-BY: 322/757 341/66 234 342/200 396/45 423/120 460/58 256 1124       SEEN-BY: 467/888 633/280 712/848 770/1 902/26 5020/400 8912 5054/30       SEEN-BY: 5075/35       PATH: 103/705 280/464 460/58 229/426          

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca