<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/b88776e15b23758f9413297c6359d6187e887778">b88776e1</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2016-02-02T18:24:38-05:00</i>
</div>
<pre class='commit-message'>Appease Coverity - prevent a null-pointer warning.</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
ntpdig/utilities.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/b88776e15b23758f9413297c6359d6187e887778#diff-0'>
<strong>
ntpdig/utilities.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpdig/utilities.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpdig/utilities.c
</span><span style="color: #aaaaaa">@@ -162,6 +162,13 @@ tv_to_str(
</span>   mm = abs(lto % 60);
 
        buf = emalloc(bufsize);
<span style="color: #000000;background-color: #ddffdd">+
+       /* should never happen - here to appease Coverity */
+       if (p_tm_local == NULL) {
+           strlcpy(buf, "tv_to_str(): invalid date", bufsize);
+           return buf;
+       }
+
</span>   snprintf(buf, bufsize,
                 json ? jsonstyle : oldstyle,
                 p_tm_local->tm_year + 1900,
</code></pre>

<br>
</li>

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

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/b88776e15b23758f9413297c6359d6187e887778">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/b88776e15b23758f9413297c6359d6187e887778"}}</script>
</p>
</div>
</body>
</html>