TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: cov-scan@synchro.net
from: scan-admin@coverity.com
date: 2023-01-30 13:36: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 435652:  High impact quality  (Y2K38_SAFETY)
/logfile.cpp: 46 in hacklog()


________________________________________________________________________________________________________
*** CID 435652:  High impact quality  (Y2K38_SAFETY)
/logfile.cpp: 46 in hacklog()
40     		return false;
41
42     	inet_addrtop(addr, ip, sizeof(ip));
43     	fprintf(fp,"SUSPECTED %s HACK ATTEMPT for user '%s' on %.24s%sUsing port %u at %s [%s]%s"
44     		,prot
45     		,user
>>>     CID 435652:  High impact quality  (Y2K38_SAFETY)
>>>     A "time_t" value is stored in an integer with too few bits to accommodate it.  The expression "now" is cast to "time32_t".
46     		,timestr(cfg, (time32_t)now, tstr)
47     		,log_line_ending
48     		,inet_addrport(addr)
49     		,host
50     		,ip
51     		,log_line_ending

** CID 435651:  High impact quality  (Y2K38_SAFETY)
/logfile.cpp: 102 in spamlog()


________________________________________________________________________________________________________
*** CID 435651:  High impact quality  (Y2K38_SAFETY)
/logfile.cpp: 102 in spamlog()
96     	if(from==NULL)
97     		from=host;
98
99     	fprintf(fp, "SUSPECTED %s SPAM %s on %.24s%sHost: %s [%s]%sFrom: %.128s %s%s"
100     		,prot
101     		,action
>>>     CID 435651:  High impact quality  (Y2K38_SAFETY)
>>>     A "time_t" value is stored in an integer with too few bits to accommodate it.  The expression "now" is cast to "time32_t".
102     		,timestr(cfg, (time32_t)now, tstr)
103     		,log_line_ending
104     		,host
105     		,ip_addr
106     		,log_line_ending
107     		,from


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp-2FP9gGRhvFklLaQKuBylUrkMFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3DrmwL_g4j7BHlu96plUOfCQsO0yRjoWZCZl8YGnZ-2FUtT39hrD1h-2BJFDuaPIzN3MjUxXvYYHQg-2Fq-2FfU-2Fa0iL0wmBIUr-2BFn-2Bh5d5qL-2FdY2FQedxymvZp-2Fl55lN-2BSO3rsaz-2BpIvPpEo8wZX8gGIoIufwknwcoNkG-2FC8e4PiByeZMHapM18xVRoUJvvlaXk0sHvmcwKAwJTorTghaXM6HlUMk6GBouCg-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™.