Subj : New Defects reported by Coverity Scan for Synchronet To : cov-scan@synchro.net From : scan-admin@coverity.com Date : Mon Sep 14 2026 13:45:35 ----==_mimepart_6aa7fa7ebcb51_297e652b6718b7799c607a 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. 1 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 656168: High impact quality (Y2K38_SAFETY) /main.cpp: 4542 in update_client_ini(sbbs_t *, const long *)() _____________________________________________________________________________________________ *** CID 656168: High impact quality (Y2K38_SAFETY) /main.cpp: 4542 in update_client_ini(sbbs_t *, const long *)() 4536 iniCloseFile(fp); 4537 return; 4538 } 4539 iniSetUInteger(&ini, ROOT_SECTION, "user", (uint)sbbs->useron.number, NULL); 4540 iniSetString(&ini, ROOT_SECTION, "name", sbbs->useron.alias, NULL); 4541 if (done != NULL) >>> CID 656168: High impact quality (Y2K38_SAFETY) >>> A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "*done" is cast to "uint". 4542 iniSetUInteger(&ini, ROOT_SECTION, "done", (uint)*done, NULL); 4543 iniWriteFile(fp, ini); 4544 iniCloseFile(fp); 4545 iniFreeStringList(ini); 4546 } 4547 ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview ----==_mimepart_6aa7fa7ebcb51_297e652b6718b7799c607a 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 656168:       High impact quality  (Y2K38_SAFETY)
/main.cpp: 4542           in update_client_ini(sbbs_t *, const long *)()


_____________________________________________________________________________________________
*** CID 656168:         High impact quality  (Y2K38_SAFETY)
/main.cpp: 4542             in update_client_ini(sbbs_t *, const long *)()
4536     		iniCloseFile(fp);
4537     		return;
4538     	}
4539     	iniSetUInteger(&ini, ROOT_SECTION, "user", (uint)sbbs->useron.number, NULL);
4540     	iniSetString(&ini, ROOT_SECTION, "name", sbbs->useron.alias, NULL);
4541     	if (done != NULL)
>>>     CID 656168:         High impact quality  (Y2K38_SAFETY)
>>>     A "time_t" value is stored in an integer with too few bits to accommodate it.  The expression "*done" is cast to "uint".
4542     		iniSetUInteger(&ini, ROOT_SECTION, "done", (uint)*done, NULL);
4543     	iniWriteFile(fp, ini);
4544     	iniCloseFile(fp);
4545     	iniFreeStringList(ini);
4546     }
4547

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team

----==_mimepart_6aa7fa7ebcb51_297e652b6718b7799c607a-- --- SBBSecho 3.37-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .