Hi,
Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan.
2 new defect(s) introduced to Synchronet found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 451057: Uninitialized variables (UNINIT)
/tmp/sbbs-Mar-26-2023/src/uifc/uifcx.c: 218 in ulist()
________________________________________________________________________________________________________
*** CID 451057: Uninitialized variables (UNINIT)
/tmp/sbbs-Mar-26-2023/src/uifc/uifcx.c: 218 in ulist()
212 cur = &tmpcur;
213
214 for(opts=0;opts>> CID 451057: Uninitialized variables (UNINIT)
>>> Using uninitialized value "*cur".
218 if((*cur)>=opts)
219 (*cur)=opts-1; /* returned after scrolled */
220
221 if((*cur)<0)
222 (*cur)=0;
223
** CID 451056: Error handling issues (CHECKED_RETURN)
/umonitor/umonitor.c: 872 in main()
________________________________________________________________________________________________________
*** CID 451056: Error handling issues (CHECKED_RETURN)
/umonitor/umonitor.c: 872 in main()
866 );
867
868 /* close .ini file here */
869 if(fp!=NULL)
870 fclose(fp);
871
>>> CID 451056: Error handling issues (CHECKED_RETURN)
>>> Calling "chdir" without checking return value (as is done elsewhere 18 out of 21 times).
872 chdir(bbs_startup.ctrl_dir);
873
874 /* Read .cfg files here */
875 memset(&cfg,0,sizeof(cfg));
876 cfg.size=sizeof(cfg);
877 SAFECOPY(cfg.ctrl_dir,bbs_startup.ctrl_dir);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp-2FP9gGRhvFklLaQKuBylUrkMFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3DQ4kK_g4j7BHlu96plUOfCQsO0yRjoWZCZl8YGnZ-2FUtT39hrDg36x62girPn1zYBhcccXwhYdDfdMRepLksuDfaAvd4bat4-2FUDdrJDqZKFgkT5rhTEpd1i-2F-2F-2Bt12VuLwisIe8fgC5UgDGF2gzRbivh2YT2HQfxF8BKGqVwBOdsLqq8RDB0gsCQJzB5reNTbkfkMIUprGduJhT4EnW8bblt9BSyQw-3D-3D
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|