<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>Amar Takhar 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/42d27e88b28c118e7bece1cb1c080d7a0e506a4b">42d27e88</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-12-04T14:27:04Z</i>
</div>
<pre class='commit-message'>Add note about why -Wformat was disabled.</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/d19992d7a133f3dbd650d24b00157588c309663f">d19992d7</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-12-04T14:30:30Z</i>
</div>
<pre class='commit-message'>Wrap format_errmsgHangingPercent runner under VSNPRINTF_PERCENT_M.</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
tests/libntp/msyslog.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/fd11ac0cbcfac9a0f693a9dcca1088a9cbf2fc1a...d19992d7a133f3dbd650d24b00157588c309663f#diff-0'>
<strong>
tests/libntp/msyslog.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/libntp/msyslog.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/libntp/msyslog.c
</span><span style="color: #aaaaaa">@@ -89,6 +89,7 @@ TEST(msyslog, msnprintfHangingPercent)
</span>
ZERO(exp_buf);
ZERO(act_buf);
<span style="color: #000000;background-color: #ddffdd">+/* warning: format string contains '\0' within the string body [-Wformat] */
</span> #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat"
exp_cnt = snprintf(exp_buf, sizeof(exp_buf), "percent then nul term then non-nul %\0oops!");
<span style="color: #aaaaaa">@@ -152,7 +153,9 @@ TEST_GROUP_RUNNER(msyslog) {
</span> RUN_TEST_CASE(msyslog, msnprintfBackslashLiteralPercentm)
RUN_TEST_CASE(msyslog, msnprintfBackslashPercent)
RUN_TEST_CASE(msyslog, msnprintfHangingPercent)
<span style="color: #000000;background-color: #ddffdd">+#ifndef VSNPRINTF_PERCENT_M
</span> RUN_TEST_CASE(msyslog, format_errmsgHangingPercent)
<span style="color: #000000;background-color: #ddffdd">+#endif
</span> RUN_TEST_CASE(msyslog, msnprintfNullTarget)
RUN_TEST_CASE(msyslog, msnprintfTruncate)
}
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/compare/fd11ac0cbcfac9a0f693a9dcca1088a9cbf2fc1a...d19992d7a133f3dbd650d24b00157588c309663f">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.
</p>
</div>
</body>
</html>