TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: cov-scan@synchro.net
from: scan-admin@coverity.com
date: 2024-04-09 13:19: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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 492287:  Error handling issues  (CHECKED_RETURN)
/main.cpp: 4472 in node_thread(void *)()


________________________________________________________________________________________________________
*** CID 492287:  Error handling issues  (CHECKED_RETURN)
/main.cpp: 4472 in node_thread(void *)()
4466     				}
4467     				SAFEPRINTF2(str,"%s%s.bin",sbbs->cfg.mods_dir
4468     					,sbbs->cfg.shell[sbbs->useron.shell]->code);
4469     				if(sbbs->cfg.mods_dir[0]==0 || !fexistcase(str)) {
4470     					SAFEPRINTF2(str,"%s%s.bin",sbbs->cfg.exec_dir
4471     						,sbbs->cfg.shell[sbbs->useron.shell]->code);
>>>     CID 492287:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "fexistcase" without checking return value (as is done elsewhere 117 out of 131 times).
4472     					fexistcase(str);
4473     				}
4474     				if((file=sbbs->nopen(str,O_RDONLY))==-1) {
4475     					sbbs->errormsg(WHERE,ERR_OPEN,str,O_RDONLY);
4476     					sbbs->hangup();
4477     					break;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4gdQbQRNsarCbK0jIoVQSWT2zCPijRqaed4AhLiEI9Z7MR9SJQ09ot5XPbn9SW-2F14-3DHvP9_7FYjIqE8olEh4k02KWtt1r1LGSyuXVEtCuKuJCXgAQagYisv-2BW69zRWxBhimCtdag5Y-2FmNQU-2F9a-2BQz99muYyDMQHaJ9IAAUHt0J4m9PdQ-2FM2LeT5-2B1UNdpeKXpgNOTn265LNUeBHOZI40IJ3EqY58uotyMvBntmOFa6NssYuPj9pyF9jsG3Ot15K77yZ8uUVZ5aWBxVVnDKUwxo1ITxjHQ-3D-3D


--- SBBSecho 3.20-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™.