<!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/mlichvar">Miroslav Lichvar</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1010">#1010</a>:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">When gnutls_aead_cipher_encrypt() is called with a key which has an invalid length, the function returns an error code, but doesn't free the allocated handle. It seems this was fixed in commit <a href="https://gitlab.com/gnutls/gnutls/-/commit/502be130493e8ce802cdf60fffdbb5f1885352a5" data-original="502be13049" data-link="false" data-link-reference="false" data-project="179611" data-commit="502be130493e8ce802cdf60fffdbb5f1885352a5" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="gnutls_aead_cipher_init: corrected potential memory leak" class="gfm gfm-commit has-tooltip">502be130</a>, but regressed in commit <a href="https://gitlab.com/gnutls/gnutls/-/commit/2eef509ce5f2d250f8dcaeffa46444dd2b694e91" data-original="2eef509ce" data-link="false" data-link-reference="false" data-project="179611" data-commit="2eef509ce5f2d250f8dcaeffa46444dd2b694e91" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="crypto-api: introduce internal version of AEAD API" class="gfm gfm-commit has-tooltip">2eef509c</a>.</p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">Current development branch</p>
</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/gnutls/-/issues/1010">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/0397b038bc6ebdca9168e8be7a137bad/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/gnutls/-/issues/1010"}}</script>
</p>
</div>
</body>
</html>