New Defects reported by Coverity Scan for ntpsec
Hal Murray
halmurray at sonic.net
Tue Feb 7 22:03:50 UTC 2023
I took a look at the Coverity reports for ntpsec.
There are 10 of them. 10 is a small number. We should be able to fix them
all.
The Coverity report that started this thread was actually a bug.
The code I had was
bool once = false;
if (once) return;
once = true;
...
I was so focused on getting the compiler warnings (-Wswitch-enum) that I
missed the missing static on once.
--
These are my opinions. I hate spam.
More information about the devel
mailing list