Subj : New Defects reported by Coverity Scan for Synchronet To : cov-scan@synchro.net From : scan-admin@coverity.com Date : Sat Oct 12 2024 12:41:05 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 510624: High impact quality (Y2K38_SAFETY) /upload.cpp: 361 in sbbs_t::upload(int, const char *)() ________________________________________________________________________________________________________ *** CID 510624: High impact quality (Y2K38_SAFETY) /upload.cpp: 361 in sbbs_t::upload(int, const char *)() 355 SAFEPRINTF(descbeg,text[Rated],toupper(ch)); 356 } 357 if(cfg.dir[dirnum]->misc&DIR_ULDATE) { 358 now=time(NULL); 359 if(descbeg[0]) 360 strcat(descbeg," "); >>> CID 510624: High impact quality (Y2K38_SAFETY) >>> A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "this->now" is cast to "time32_t". 361 SAFEPRINTF(str,"%s ",unixtodstr(&cfg,(time32_t)now,tmp)); 362 strcat(descbeg,str); 363 } 364 if(cfg.dir[dirnum]->misc&DIR_MULT) { 365 sync(); 366 if(!noyes(text[MultipleDiskQ])) { ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4gdQbQRNsarCbK0jIoVQSWT2zCPijRqaed4AhLiEI9Z7MR9SJQ09ot5XPbn9SW-2F14-3DIddI_7FYjIqE8olEh4k02KWtt1r1LGSyuXVEtCuKuJCXgAQYB81ZvyCqI0cAJ-2FU5ubhxKf4JbTpohfwGahN-2FqiJqEJS3JKhfKJrRClFb390j-2Bf3IyHjOgp4TSp0v4WjJhOyS2xAdq9DkOONT15FqaUuN3dwPvrgxJQAm5MhfGSzyQr2ebowkrz6Mx39u7LNSgoa0vxPkqTzBlpznq59pGc5zgjQ-3D-3D --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .