<!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: #777;">
<a href="https://gitlab.com/rockdaboot">Tim Rühsen</a> created an issue:
</p>
<div></div>
<p dir="auto">There is another memory leak, a reproducer has been added in branch <code>tmp-memleak-a</code> (use <code>./configure --enable-valgrind-tests</code>:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">==25685== 152 bytes in 1 blocks are definitely lost in loss record 1 of 1</span>
<span id="LC2" class="line" lang="plaintext">==25685==    at 0x4837B65: calloc (vg_replace_malloc.c:762)</span>
<span id="LC3" class="line" lang="plaintext">==25685==    by 0x4851C0D: _asn1_add_static_node (parser_aux.c:71)</span>
<span id="LC4" class="line" lang="plaintext">==25685==    by 0x4853AAC: asn1_array2tree (structure.c:200)</span>
<span id="LC5" class="line" lang="plaintext">==25685==    by 0x10923B: main (reproducers.c:76)</span></code></pre>
<p dir="auto">The <code>asn1_static_node</code> is</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">const asn1_static_node tab[] = {</span>
<span id="LC2" class="line" lang="plaintext">{ "a", CONST_DOWN, "" },</span>
<span id="LC3" class="line" lang="plaintext">{ "b", 0, "" },</span>
<span id="LC4" class="line" lang="plaintext">{ "c", 0, "" },</span>
<span id="LC5" class="line" lang="plaintext">{ NULL, 0, NULL }</span>
<span id="LC6" class="line" lang="plaintext">};</span></code></pre>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/libtasn1/issues/14">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/fa7881ac9d93076d0f199bedfaecc50e/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 Issue","url":"https://gitlab.com/gnutls/libtasn1/issues/14"}}</script>


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