[Git][NTPsec/ntpsec][master] ntp_control: 2nd try at shutting up Coverity.
Gary E. Miller
gitlab at mg.gitlab.com
Sun Nov 4 19:59:42 UTC 2018
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
8b7daaf0 by Gary E. Miller at 2018-11-04T19:59:20Z
ntp_control: 2nd try at shutting up Coverity.
- - - - -
1 changed file:
- ntpd/ntp_control.c
Changes:
=====================================
ntpd/ntp_control.c
=====================================
@@ -887,9 +887,9 @@ process_control(
* Set up translate pointers
*/
reqpt = (char *)pkt->data;
- /* coverity[deadcode] backstop to prevent stack overflow */
if (CTL_MAX_DATA_LEN < req_count) {
/* count too big */
+ /* coverity[deadcode] backstop to prevent stack overflow */
ctl_error(CERR_BADFMT);
numctlbadpkts++;
return;
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8b7daaf0dfbc02363361c8ef26dd5c9e52ba7765
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8b7daaf0dfbc02363361c8ef26dd5c9e52ba7765
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/20181104/69b24338/attachment.html>
More information about the vc
mailing list