Fw: New Defects reported by Coverity Scan for ntpsec

Gary E. Miller gem at rellim.com
Mon Feb 6 01:13:35 UTC 2023


Yo All!

New Coverity issue in ntpsec.  See below.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin


Hi,

Please find the latest report on new defect(s) introduced to ntpsec
found with Coverity Scan.

1 new defect(s) introduced to ntpsec found with Coverity Scan.


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


** CID 435753:  Possible Control flow issues  (DEADCODE)
/ntpd/ntp_control.c: 1442 in ctl_putsys()


________________________________________________________________________________________________________
*** CID 435753:  Possible Control flow issues  (DEADCODE)
/ntpd/ntp_control.c: 1442 in ctl_putsys()
1436     
1437     	case v_special: ctl_putspecial(v); break;
1438     
1439             default: {
1440     	    /* There should be a way for the compiler to check
this. */ 1441                 bool once = false;
>>>     CID 435753:  Possible Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "return;".  
1442                 if (once) return;		/* Avoid log file
clutter/DDoS */ 1443                 msyslog(LOG_ERR, "ERR:
ctl_putsys() needs work type=%u\n", v->type); 1444
break; 1445                 }
1446     	}
1447     }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp8Ldxo61EGGRiTZ6U-2Bjg3sA07-2BBpfNSmUdAWFIW4-2FfVHYSy8cV7mYfZsABp8TO5F4-3D41ZF_V4vXdTh-2BxT-2BxCKbyFfrSoJphabMfh6sw3JGQkGgw3mcA2ELC6q3X-2BQv5YC0HZZn94qOIPHsHbujEZo9tLPMLTXkbOsMFUSl3AB86FDzXUyl-2BuLmSMwMO-2FjwX1DtauCq7258KZbOSKCoDbIoLS5QnOdbFK72y6ZSxRXIk2hCmweiguaIG6l6MpjPzRtx-2BtRa71FgbxS1HL44mR1Y-2Ft28Dgw-3D-3D

  To manage Coverity Scan email notifications for "gem at rellim.com",
  click
  https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXx7Tfqjjbls0cEjccfNLTtXEyJGZ4VdMsA5BAyVQQG3-2BhiayktbDtQ9xydmCGCqXM-2FiCfaecVOZTo8suXWaB1cwto7f0wTnlZytc1QYkzBIo8-3DrQ-w_V4vXdTh-2BxT-2BxCKbyFfrSoJphabMfh6sw3JGQkGgw3mcA2ELC6q3X-2BQv5YC0HZZn9UcgqQPFxk6LyokBqbpa8VlE85wdutUL29ih84TrP4sD2klB9H9YbiimW7lSft3vrQEaMGE2lysjYRzy6Sp864PuquzyDrZtg-2B4J6jrsHdU0-2FZYGNiBtb46BwaST6rl12tvHyV4oWw3vJq8O2DDg8eg-3D-3D




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20230205/264d0cf9/attachment.bin>


More information about the devel mailing list