TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: cov-scan@synchro.net
from: scan-admin@coverity.com
date: 2021-06-11 12:54:00
subject: New Defects reported by C

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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.