<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a> created a merge request:
</p>
<p>
</p>
<div class="branch">
Project:Branches: dueno/gnutls:wip/dueno/fips-dh-memleak to gnutls/gnutls:master
</div>
<div class="author">
Author: Daiki Ueno
</div>
<div class="assignee">
Assignees:
</div>
<div class="approvers">
</div>
<div>
<p dir="auto">There were some confusions of gnutls_pk_params_clear and
gnutls_pk_params_release, as well as the number of parameters to scan
in the gnutls_pk_params_st structure.</p>
<p dir="auto">Flagged by address sanitizer:</p>
<pre class="code highlight js-syntax-highlight console" lang="console" v-pre="true"><code><span id="LC1" class="line" lang="console"><span class="go"> ==354688==ERROR: LeakSanitizer: detected memory leaks</span></span>
<span id="LC2" class="line" lang="console"></span>
<span id="LC3" class="line" lang="console"><span class="go"> Direct leak of 192 byte(s) in 12 object(s) allocated from:</span></span>
<span id="LC4" class="line" lang="console"><span class="gp"> #</span>0 0x7f13506163cf <span class="k">in </span>__interceptor_malloc <span class="o">(</span>/lib64/libasan.so.6+0xab3cf<span class="o">)</span></span>
<span id="LC5" class="line" lang="console"><span class="gp"> #</span>1 0x7f13503b94de <span class="k">in </span>wrap_nettle_mpi_init /home/ueno/devel/gnutls/lib/nettle/mpi.c:79</span>
<span id="LC6" class="line" lang="console"><span class="gp"> #</span>2 0x7ffcb8495f07 <span class="o">([</span>stack]+0x1ef07<span class="o">)</span></span>
<span id="LC7" class="line" lang="console"></span>
<span id="LC8" class="line" lang="console"><span class="go"> Direct leak of 160 byte(s) in 10 object(s) allocated from:</span></span>
<span id="LC9" class="line" lang="console"><span class="gp"> #</span>0 0x7f13506163cf <span class="k">in </span>__interceptor_malloc <span class="o">(</span>/lib64/libasan.so.6+0xab3cf<span class="o">)</span></span>
<span id="LC10" class="line" lang="console"><span class="gp"> #</span>1 0x7f13503b94de <span class="k">in </span>wrap_nettle_mpi_init /home/ueno/devel/gnutls/lib/nettle/mpi.c:79</span></code></pre>
<h2 dir="auto">
<a id="user-content-checklist" class="anchor" href="#checklist" aria-hidden="true"></a>Checklist</h2>
<ul class="task-list" dir="auto">
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" checked disabled> Commits have <code>Signed-off-by:</code> with name/author being identical to the commit author</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Code modified for feature</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Test suite updated with functionality tests</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Test suite updated with negative tests</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Documentation updated / NEWS entry present (for non-trivial changes)</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> CI timeout is 2h or higher (see Settings/CICD/General pipelines/Timeout)</li>
</ul>
<h2 dir="auto">
<a id="user-content-reviewers-checklist" class="anchor" href="#reviewers-checklist" aria-hidden="true"></a>Reviewer's checklist:</h2>
<ul class="task-list" dir="auto">
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Any issues marked for closing are addressed</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> There is a test suite reasonably covering new functionality or modifications</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Function naming, parameters, return values, types, etc., are consistent and according to <code>CONTRIBUTION.md</code>
</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> This feature/change has adequate documentation added</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> No obvious mistakes in the code</li>
</ul>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1380">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
<a href="https://gitlab.com/-/sent_notifications/8247e95fea61ce2e96e327d892c9d14e/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/-/merge_requests/1380"}}</script>
</p>
</div>
</body>
</html>