[Git][NTPsec/ntpsec][master] Coverity -- another try.
Hal Murray (@hal.murray)
gitlab at mg.gitlab.com
Tue Jan 21 01:33:19 UTC 2025
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
7e8acce1 by Hal Murray at 2025-01-20T17:31:47-08:00
Coverity -- another try.
Looks like you can't add anything to their supression comments.
- - - - -
1 changed file:
- ntpd/ntp_refclock.c
Changes:
=====================================
ntpd/ntp_refclock.c
=====================================
@@ -470,8 +470,8 @@ refclock_sample(
*/
i = 0; j = n;
m = n - ((n*4)/10);
- /* coverity[INTEGER_OVERFLOW] CID 497295,
- * Bug in Coverity: goes around loop when it shouldn't */
+ /* CID 497295, Bug in Coverity: goes around loop when it shouldn't */
+ /* coverity[INTEGER_OVERFLOW] */
while ((j - i) > m) {
offset = off[(j + i) / 2];
if (off[j - 1] - offset < offset - off[i])
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/7e8acce1f68cf07d62bff0731aa58de79273a1d3
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/7e8acce1f68cf07d62bff0731aa58de79273a1d3
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20250121/5518e8dd/attachment-0001.htm>
More information about the vc
mailing list