Subj : New Defects reported by Coverity Scan for Synchronet To : cov-scan@synchro.net From : scan-admin@coverity.com Date : Fri Jun 11 2021 12:54:03 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 332340: Uninitialized variables (UNINIT) /main.cpp: 3941 in sbbs_t::mv(const char *, const char *, bool)() ________________________________________________________________________________________________________ *** CID 332340: Uninitialized variables (UNINIT) /main.cpp: 3941 in sbbs_t::mv(const char *, const char *, bool)() 3935 /* returns 0 if successful, -1 if error */ 3936 /****************************************************************************/ 3937 int sbbs_t::mv(const char* path, const char* dest, bool copy) 3938 { 3939 char src[MAX_PATH + 1]; 3940 >>> CID 332340: Uninitialized variables (UNINIT) >>> Using uninitialized value "*src" when calling "strcasecmp". 3941 if(!stricmp(src,dest)) /* source and destination are the same! */ 3942 return(0); 3943 3944 SAFECOPY(src, path); 3945 if(!fexistcase(src)) { 3946 bprintf("\r\n\7MV ERROR: Source doesn't exist\r\n'%s'\r\n" ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp-2FP9gGRhvFklLaQKuBylUrkMFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3DqQX3_g4j7BHlu96plUOfCQsO0yRjoWZCZl8YGnZ-2FUtT39hrC8w0l2JXQ-2BSggRPsHCPc7lfnD4IR8T8jafGE4Y3I2yR1-2Fm4nxDAwhk7UyLUpG8wpaUq2dJHcmPD48DDyoK0D0Hekjp5Jm9oaxCVhGpsxmi6pKNcEXdqGHmOPTVUBpzyX0N2xrH4FsPvPMSEguMRMnI3nHRCv4o1TGFovqRola4Ng-3D-3D --- SBBSecho 3.14-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .