Section One BBS

Welcome, Guest.


Subject: New Defects reported by Coverity Scan for Synchronet Date: Wed Mar 02 2022 01:56 pm
From: scan-admin@coverity.com To: cov-scan@synchro.net

Hi,

Please find the latest report on new defect(s) introduced to Synchronet found wi
th 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-2FP9gGRhvFklLaQKuBylUrk
MFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3DmiUV_g4j7BHlu96plUOfCQsO0yR
joWZCZl8YGnZ-2FUtT39hrCREBxNEUgdt5ZQ6Jwp6-2F2dgB3N1R09JHnkRI8obVHKr9rLWEOifV40DE
pPVOO0-2FraqrnSN-2BnhUTXyIvrlQ4autpeTHdQl6YDJk0BRrodCTUzq7DK-2F5i4TI7jqqdybEo8XF
c066P6h-2BWGjEKMxgiHVWXtJf16Bn6nRGWXloCyW5Sg-3D-3D



---
 ■ SynchronetVertrauen Home of Synchronet [vert/cvs/bbs].synchro.net

Previous Message       Next Message