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,143 of 49,116   
   scan-admin@coverity.com to All   
   New Defects reported by Coverity Scan fo   
   11 Aug 25 13:57:59   
   
   TZUTC: 0000   
   MSGID: 52536.syncprog@1:103/705 2cfffa21   
   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_6899f6e6bbda6_101b942b538a7b399c1257b   
   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 583999:         (UNINIT)   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 583999:           (UNINIT)   
   /file.cpp: 182             in sbbs_t::removefcdt(smbmsg_t *)()   
   176     		if (cfg.dir[f->dir]->misc & DIR_CDTUL)   
   177     			cdt = ((ulong)(f->cost * (cfg.dir[f->dir]->up_pct / 100.0)) /   
   cur_cps) / 60;   
   178     		if (cfg.dir[f->dir]->misc & DIR_CDTDL   
   179     		    && f->hdr.times_downloaded)  /* all downloads */   
   180     			cdt += ((ulong)((long)f->hdr.times_downloaded   
   181     			                * f->cost * (cfg.dir[f->dir]->dn_pct / 100.0)) /   
   cur_cps) / 60;   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling "adjustuserval".   
   182     		adjustuserval(&cfg, &user, USER_MIN, -cdt);   
   183     		snprintf(str, sizeof str, "%lu minute", cdt);   
   184     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   185     		         , f->name, cdt ? str : text[No]);   
   186     		putsmsg(user.number, tmp);   
   187     	}   
   /file.cpp: 203             in sbbs_t::removefcdt(smbmsg_t *)()   
   197     			bprintf(text[CreditsToRemove], f->from);   
   198     			getstr(str, 10, K_NUMBER | K_LINE | K_EDIT | K_AUTODEL);   
   199     			if (msgabort(true))   
   200     				return false;   
   201     			cdt = atol(str);   
   202     		}   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling "adjustuserval".   
   203     		adjustuserval(&cfg, &user, USER_CDT, -cdt);   
   204     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   205     		         , f->name, cdt > 0 ? ultoac(cdt, str) : text[No]);   
   206     		putsmsg(user.number, tmp);   
   207     	}   
   208   
   /file.cpp: 209             in sbbs_t::removefcdt(smbmsg_t *)()   
   203     		adjustuserval(&cfg, &user, USER_CDT, -cdt);   
   204     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   205     		         , f->name, cdt > 0 ? ultoac(cdt, str) : text[No]);   
   206     		putsmsg(user.number, tmp);   
   207     	}   
   208   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling "adjustuserval".   
   209     	adjustuserval(&cfg, &user, USER_ULB, -f->size);   
   210     	adjustuserval(&cfg, &user, USER_ULS, -1);   
   211     	return true;   
   212     }   
   213   
   214     /*******************************************************   
   ********************/   
   /file.cpp: 210             in sbbs_t::removefcdt(smbmsg_t *)()   
   204     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   205     		         , f->name, cdt > 0 ? ultoac(cdt, str) : text[No]);   
   206     		putsmsg(user.number, tmp);   
   207     	}   
   208   
   209     	adjustuserval(&cfg, &user, USER_ULB, -f->size);   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling "adjustuserval".   
   210     	adjustuserval(&cfg, &user, USER_ULS, -1);   
   211     	return true;   
   212     }   
   213   
   214     /*******************************************************   
   ********************/   
   215     /*******************************************************   
   ********************/   
      
      
   ________________________________________________________________   
   _______________________________________   
   To view the defects in Coverity Scan visit, https://scan.coverit   
   .com/projects/synchronet?tab=overview   
      
      
   ----==_mimepart_6899f6e6bbda6_101b942b538a7b399c1257b   
   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 583999:         (UNINIT)   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 583999:           (UNINIT)   
   /file.cpp: 182             in sbbs_t::removefcdt(smbmsg_t *)()   
   176     		if (cfg.dir[f->dir]->misc & DIR_CDTUL)   
   177     			cdt = ((ulong)(f->cost * (cfg.dir[f->dir]->up_pct /   
   100.0)) / cur_cps) / 60;   
   178     		if (cfg.dir[f->dir]->misc & DIR_CDTDL   
   179     		    && f->hdr.times_downloaded)  /* all downloads */   
   180     			cdt += ((ulong)((long)f->hdr.times_downloaded   
   181     			                * f->cost * (cfg.dir[f->dir]->dn_pct /   
   100.0)) / cur_cps) / 60;   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling   
   "adjustuserval".   
   182     		adjustuserval(&cfg, &user, USER_MIN, -cdt);   
   183     		snprintf(str, sizeof str, "%lu minute", cdt);   
   184     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   185     		         , f->name, cdt ? str : text[No]);   
   186     		putsmsg(user.number, tmp);   
   187     	}   
   /file.cpp: 203             in sbbs_t::removefcdt(smbmsg_t *)()   
   197     			bprintf(text[CreditsToRemove], f->from);   
   198     			getstr(str, 10, K_NUMBER | K_LINE | K_EDIT | K_AUTODEL);   
   199     			if (msgabort(true))   
   200     				return false;   
   201     			cdt = atol(str);   
   202     		}   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling   
   "adjustuserval".   
   203     		adjustuserval(&cfg, &user, USER_CDT, -cdt);   
   204     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   205     		         , f->name, cdt > 0 ? ultoac(cdt, str) : text[No]);   
   206     		putsmsg(user.number, tmp);   
   207     	}   
   208   
   /file.cpp: 209             in sbbs_t::removefcdt(smbmsg_t *)()   
   203     		adjustuserval(&cfg, &user, USER_CDT, -cdt);   
   204     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   205     		         , f->name, cdt > 0 ? ultoac(cdt, str) : text[No]);   
   206     		putsmsg(user.number, tmp);   
   207     	}   
   208   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling   
   "adjustuserval".   
   209     	adjustuserval(&cfg, &user, USER_ULB, -f->size);   
   210     	adjustuserval(&cfg, &user, USER_ULS, -1);   
   211     	return true;   
   212     }   
   213   
   214     /*******************************************************   
   ********************/   
   /file.cpp: 210             in sbbs_t::removefcdt(smbmsg_t *)()   
   204     		snprintf(tmp, sizeof tmp, text[FileRemovedUserMsg]   
   205     		         , f->name, cdt > 0 ? ultoac(cdt, str) : text[No]);   
   206     		putsmsg(user.number, tmp);   
   207     	}   
   208   
   209     	adjustuserval(&cfg, &user, USER_ULB, -f->size);   
   >>>     CID 583999:           (UNINIT)   
   >>>     Using uninitialized value "user.level" when calling   
   "adjustuserval".   
   210     	adjustuserval(&cfg, &user, USER_ULS, -1);   
   211     	return true;   
   212     }   
   213   
   214     /*******************************************************   
   ********************/   
   215     /*******************************************************   
   ********************/   
      
     
              

        View Defects in Coverity Scan       

              

Best regards,

       

The Coverity Scan Admin Team

                             ----==_mimepart_6899f6e6bbda6_101b942b538a7b399c1257b--              --- 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 153/757 7715 154/10       SEEN-BY: 154/30 110 203/0 218/700 221/0 226/30 227/114 229/110 114       SEEN-BY: 229/206 317 400 426 428 470 700 705 240/1120 5832 263/1 266/512       SEEN-BY: 280/464 5003 5006 291/111 292/8125 301/1 320/219 322/757       SEEN-BY: 341/66 234 342/200 396/45 423/120 460/58 256 1124 467/888       SEEN-BY: 633/280 712/848 770/1 902/26 5020/400 8912 5054/30 5075/35       PATH: 103/705 280/464 460/58 229/426          

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


(c) 1994,  bbs@darkrealms.ca