<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>
Eric S. Raymond pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/bcb2ca7576e1048e4c43701c3919942b2050d67d">bcb2ca75</a></strong>
<div>
<span>by Juergen Perlinger</span>
<i>at 2016-03-20T21:45:48-04:00</i>
</div>
<pre class='commit-message'>Forward-port from Classic: [Bug 2887] fudge stratum only accepts values [0..16].</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
ntpd/ntp_parser.y
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/bcb2ca7576e1048e4c43701c3919942b2050d67d#diff-0'>
<strong>
ntpd/ntp_parser.y
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_parser.y
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_parser.y
</span><span style="color: #aaaaaa">@@ -971,7 +971,14 @@ fudge_factor
</span>   |       fudge_factor_bool_keyword boolean
                        { $$ = create_attr_ival($1, $2); }
        |       T_Stratum T_Integer
<span style="color: #000000;background-color: #ffdddd">-                        { $$ = create_attr_ival($1, $2); }
</span><span style="color: #000000;background-color: #ddffdd">+           {
+                       if ($2 >= 0 && $2 <= 16) {
+                               $$ = create_attr_ival($1, $2);
+                       } else {
+                               $$ = NULL;
+                               yyerror("fudge factor: stratum value not in [0..16], ignored");
+                       }
+               }
</span>   |       T_Abbrev T_String
                        { $$ = create_attr_sval($1, $2); }
        |       T_Refid T_String
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/bcb2ca7576e1048e4c43701c3919942b2050d67d">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/bcb2ca7576e1048e4c43701c3919942b2050d67d"}}</script>
</p>
</div>
</body>
</html>