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

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 342467:  API usage errors  (PW.PRINTF_ARG_MISMATCH)
/sbbsecho.c: 1120 in ()


________________________________________________________________________________________________________
*** CID 342467:  API usage errors  (PW.PRINTF_ARG_MISMATCH)
/sbbsecho.c: 1120 in ()
1114     					fprintf(fp," TFS");
1115     				else
1116     					fprintf(fp," KFS");
1117     			}
1118     			fprintf(fp,"\r");
1119     		}
>>>     CID 342467:  API usage errors  (PW.PRINTF_ARG_MISMATCH)
>>>     argument is incompatible with corresponding format string conversion
1120     		fprintf(fp, "\1MSGID: %s %08lx\r", smb_faddrtoa(&faddr, NULL), time32(NULL));
1121     	} else {
1122     		if(msg->ftn_msgid != NULL)
1123     			fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid);
1124     		if(msg->ftn_reply != NULL)
1125     			fprintf(fp, "\1REPLY: %.256s\r", msg->ftn_reply);

** CID 342466:  API usage errors  (PRINTF_ARGS)
/sbbsecho.c: 1120 in create_netmail()


________________________________________________________________________________________________________
*** CID 342466:  API usage errors  (PRINTF_ARGS)
/sbbsecho.c: 1120 in create_netmail()
1114     					fprintf(fp," TFS");
1115     				else
1116     					fprintf(fp," KFS");
1117     			}
1118     			fprintf(fp,"\r");
1119     		}
>>>     CID 342466:  API usage errors  (PRINTF_ARGS)
>>>     Argument "time32(NULL)" to format specifier "%08lx" was expected to have type "unsigned long" but has type "int". [Note: The source code implementation of the function has been overridden by a builtin model.]
1120     		fprintf(fp, "\1MSGID: %s %08lx\r", smb_faddrtoa(&faddr, NULL), time32(NULL));
1121     	} else {
1122     		if(msg->ftn_msgid != NULL)
1123     			fprintf(fp, "\1MSGID: %.256s\r", msg->ftn_msgid);
1124     		if(msg->ftn_reply != NULL)
1125     			fprintf(fp, "\1REPLY: %.256s\r", msg->ftn_reply);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp-2FP9gGRhvFklLaQKuBylUrkMFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3Db96B_g4j7BHlu96plUOfCQsO0yRjoWZCZl8YGnZ-2FUtT39hrAHEWm-2BkLZkIQ-2BS5RfZZwg-2FOI8uuYbe-2BVNB-2Fi0jSK-2FSbZzgfWlYUbZ-2FpzyM-2BRUQ4q5Vh5QeZifLoBO7UD6mvBGFKsZ34-2FggaftYUAeDYvs1PHHZpToemgbgisBzQse9A2AEssZOSK4kIaU8gEmhNC0qlBvIlt5bWyIgamWViMCNIw-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™.