Subj : New Defects reported by Coverity Scan for Synchronet To : cov-scan@synchro.net From : scan-admin@coverity.com Date : Wed Mar 02 2022 13:56:03 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. 26 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 350353: Error handling issues (NEGATIVE_RETURNS) /sbbsecho.c: 3629 in getzpt() ________________________________________________________________________________________________________ *** CID 350353: Error handling issues (NEGATIVE_RETURNS) /sbbsecho.c: 3629 in getzpt() 3623 } 3624 if(buf[i]=='\r') 3625 cr=1; 3626 else 3627 cr=0; 3628 } >>> CID 350353: Error handling issues (NEGATIVE_RETURNS) >>> "pos" is passed to a parameter that cannot be negative. 3629 (void)fseeko(stream,pos,SEEK_SET); 3630 return intl_found; 3631 } 3632 3633 bool foreign_zone(uint16_t zone1, uint16_t zone2) 3634 { ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp-2FP9gGRhvFklLaQKuBylUrkMFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3DmiUV_g4j7BHlu96plUOfCQsO0yRjoWZCZl8YGnZ-2FUtT39hrCREBxNEUgdt5ZQ6Jwp6-2F2dgB3N1R09JHnkRI8obVHKr9rLWEOifV40DEpPVOO0-2FraqrnSN-2BnhUTXyIvrlQ4autpeTHdQl6YDJk0BRrodCTUzq7DK-2F5i4TI7jqqdybEo8XFc066P6h-2BWGjEKMxgiHVWXtJf16Bn6nRGWXloCyW5Sg-3D-3D --- SBBSecho 3.15-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .