Subj : New Defects reported by Coverity Scan for Synchronet To : All From : scan-admin@coverity.com Date : Sun Aug 10 2025 14:15:47 ----==_mimepart_6898a9938c063_f22012b538a7b399c12567 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. 3 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 583942: High impact quality (Y2K38_SAFETY) /userdat.c: 3171 in loginuserdat() _____________________________________________________________________________________________ *** CID 583942: High impact quality (Y2K38_SAFETY) /userdat.c: 3171 in loginuserdat() 3165 if (protocol != NULL) 3166 SAFECOPY(user->connection, protocol); 3167 if (hostname != NULL) 3168 SAFECOPY(user->comp, hostname); 3169 if (ipaddr != NULL) 3170 SAFECOPY(user->ipaddr, ipaddr); >>> CID 583942: High impact quality (Y2K38_SAFETY) >>> A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "logontime" is cast to "time32_t". 3171 user->logontime = logontime; 3172 3173 return putuserdat(cfg, user); 3174 } 3175 3176 /****************************************************************************/ ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview ----==_mimepart_6898a9938c063_f22012b538a7b399c12567 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 583942:       High impact quality  (Y2K38_SAFETY)
/userdat.c: 3171           in loginuserdat()


_____________________________________________________________________________________________
*** CID 583942:         High impact quality  (Y2K38_SAFETY)
/userdat.c: 3171             in loginuserdat()
3165     	if (protocol != NULL)
3166     		SAFECOPY(user->connection, protocol);
3167     	if (hostname != NULL)
3168     		SAFECOPY(user->comp, hostname);
3169     	if (ipaddr != NULL)
3170     		SAFECOPY(user->ipaddr, ipaddr);
>>>     CID 583942:         High impact quality  (Y2K38_SAFETY)
>>>     A "time_t" value is stored in an integer with too few bits to accommodate it.  The expression "logontime" is cast to "time32_t".
3171     	user->logontime = logontime;
3172
3173     	return putuserdat(cfg, user);
3174     }
3175
3176     /****************************************************************************/

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team

----==_mimepart_6898a9938c063_f22012b538a7b399c12567-- --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .