<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<h3 style="margin-top: 20px; margin-bottom: 10px;">
Matt Selsky pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.com/NTPsec/ntpsec/-/commit/937ae9dc31e43e3237b84372505495948ec6f02d">937ae9dc</a></strong>
<div>
<span> by Matt Selsky </span> <i> at 2026-10-22T20:18:30-04:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #f7f7f5; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdbd9;'>tests/ntpd/nts_extens.c: check AES_SIV_CTX_new() in build_request()

build_request() passed the result of AES_SIV_CTX_new() to
AES_SIV_Encrypt() without checking it, so a failed allocation would
crash the test instead of failing it (Coverity CID 658510).
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
1 changed file:
</h4>
<ul>
<li class="file-stats">
<a href="#c894911cc63ca3d2e01f762b6a6f87c112be577c">
tests/ntpd/nts_extens.c
</a>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Changes:
</h4>
<li id="c894911cc63ca3d2e01f762b6a6f87c112be577c">
<a href="https://gitlab.com/NTPsec/ntpsec/-/commit/937ae9dc31e43e3237b84372505495948ec6f02d#c894911cc63ca3d2e01f762b6a6f87c112be577c"><strong style="font-weight: 600;">tests/ntpd/nts_extens.c</strong></a>
<hr style="overflow: hidden; border: 1px solid #dcdbd9;">
<table class="code white" style="border-spacing: 0; border-collapse: collapse; width: auto; font-family: monospace; font-size: 90%;" bgcolor="#ffffff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="253" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="253" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">...</td>
<td class="line_content match" style="color: rgba(5,5,6,.24); padding: inherit;" bgcolor="#f7f7f5">@@ -253,6 +253,7 @@ static int build_request(uint8_t *pkt, size_t pktlen,</td>
</tr>
<tr class="line_holder" style="line-height: 1.6;">
<td class="old_line diff-line-num" data-linenumber="253" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
253
</td>
<td class="new_line diff-line-num" data-linenumber="253" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
253
</td>
<td class="line_content" style="padding: inherit;"><pre style='display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: inherit; border-radius: 2px; margin: 0; padding: 0; border: inherit solid #dcdbd9;'> <span class="line" data-lang="c">      <span class="n" style="color: #333333;">nonce</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333333;">buf</span><span class="p">.</span><span class="n" style="color: #333333;">next</span><span class="p">;</span></span>
</pre></td>
</tr>
<tr class="line_holder" style="line-height: 1.6;">
<td class="old_line diff-line-num" data-linenumber="254" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
254
</td>
<td class="new_line diff-line-num" data-linenumber="254" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
254
</td>
<td class="line_content" style="padding: inherit;"><pre style='display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: inherit; border-radius: 2px; margin: 0; padding: 0; border: inherit solid #dcdbd9;'> <span class="line" data-lang="c">      <span class="n" style="color: #333333;">memset</span><span class="p">(</span><span class="n" style="color: #333333;">nonce</span><span class="p">,</span> <span class="mh" style="color: #009999;">0xA5</span><span class="p">,</span> <span class="n" style="color: #333333;">noncelen</span><span class="p">);</span></span>
</pre></td>
</tr>
<tr class="line_holder" style="line-height: 1.6;">
<td class="old_line diff-line-num" data-linenumber="255" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
255
</td>
<td class="new_line diff-line-num" data-linenumber="255" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
255
</td>
<td class="line_content" style="padding: inherit;"><pre style='display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: inherit; border-radius: 2px; margin: 0; padding: 0; border: inherit solid #dcdbd9;'> <span class="line" data-lang="c">      <span class="n" style="color: #333333;">ctx</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333333;">AES_SIV_CTX_new</span><span class="p">();</span></span>
</pre></td>
</tr>
<tr class="line_holder new" style="line-height: 1.6;">
<td class="old_line diff-line-num new" data-linenumber="256" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: inherit;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="new_line diff-line-num new" data-linenumber="256" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: inherit;" align="right" bgcolor="#ddfbe6">
256
</td>
<td class="line_content new" style="padding: inherit;" bgcolor="#ecfdf0"><pre style='display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: inherit; border-radius: 2px; margin: 0; padding: 0; border: inherit solid #dcdbd9;'>+<span class="line" data-lang="c">      <span class="n" style="color: #333333;">TEST_ASSERT_NOT_NULL</span><span class="p">(</span><span class="n" style="color: #333333;">ctx</span><span class="p">);</span></span>
</pre></td>
</tr>
<tr class="line_holder" style="line-height: 1.6;">
<td class="old_line diff-line-num" data-linenumber="256" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
256
</td>
<td class="new_line diff-line-num" data-linenumber="257" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
257
</td>
<td class="line_content" style="padding: inherit;"><pre style='display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: inherit; border-radius: 2px; margin: 0; padding: 0; border: inherit solid #dcdbd9;'> <span class="line" data-lang="c">      <span class="n" style="color: #333333;">TEST_ASSERT_TRUE</span><span class="p">(</span><span class="n" style="color: #333333;">AES_SIV_Encrypt</span><span class="p">(</span><span class="n" style="color: #333333;">ctx</span><span class="p">,</span> <span class="n" style="color: #333333;">nonce</span> <span class="o" style="font-weight: 600;">+</span> <span class="n" style="color: #333333;">noncepad</span><span class="p">,</span> <span class="o" style="font-weight: 600;">&</span><span class="n" style="color: #333333;">outlen</span><span class="p">,</span></span>
</pre></td>
</tr>
<tr class="line_holder" style="line-height: 1.6;">
<td class="old_line diff-line-num" data-linenumber="257" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
257
</td>
<td class="new_line diff-line-num" data-linenumber="258" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
258
</td>
<td class="line_content" style="padding: inherit;"><pre style='display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: inherit; border-radius: 2px; margin: 0; padding: 0; border: inherit solid #dcdbd9;'> <span class="line" data-lang="c">                                       <span class="n" style="color: #333333;">c2s</span><span class="p">,</span> <span class="mi" style="color: #009999;">32</span><span class="p">,</span> <span class="n" style="color: #333333;">nonce</span><span class="p">,</span> <span class="n" style="color: #333333;">noncelen</span><span class="p">,</span></span>
</pre></td>
</tr>
<tr class="line_holder" style="line-height: 1.6;">
<td class="old_line diff-line-num" data-linenumber="258" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
258
</td>
<td class="new_line diff-line-num" data-linenumber="259" style="width: 35px; color: rgba(5,5,6,.24); border-right-width: 1px; border-right-color: #ecebea; border-right-style: solid; padding: inherit;" align="right" bgcolor="#f7f7f5">
259
</td>
<td class="line_content" style="padding: inherit;"><pre style='display: block; font-size: 14px; color: #3a383d; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: inherit; border-radius: 2px; margin: 0; padding: 0; border: inherit solid #dcdbd9;'> <span class="line" data-lang="c">                                       <span class="n" style="color: #333333;">plain</span><span class="p">,</span> <span class="n" style="color: #333333;">plainlen</span><span class="p">,</span> <span class="n" style="color: #333333;">pkt</span><span class="p">,</span> <span class="n" style="color: #333333;">adlength</span><span class="p">));</span></span>
</pre></td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #646163;">
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/-/commit/937ae9dc31e43e3237b84372505495948ec6f02d">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">Notification message regarding https://gitlab.com/NTPsec/ntpsec/-/commit/937ae9dc31e43e3237b84372505495948ec6f02d at 6b709e2eac6ee460b2edd3c45c5cf377</span>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/-/commit/937ae9dc31e43e3237b84372505495948ec6f02d"}}</script>


</p>
</div>
</body>
</html>