<!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;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: -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: rgba(255,255,255,0.01) 0 0 1px; font-family: -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">
<p class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/jpwhiting" style="color: #1068bf; text-decoration: none;">Jeremy Whiting</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1367" style="color: #1068bf; text-decoration: none;">#1367</a>
</p>
<div class="md" style="color: #303030; word-wrap: break-word;">
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">gnutls 3.7.5 causes alkimia unit tests to fail (Alkimia is here: <a href="https://invent.kde.org/office/alkimia" rel="nofollow noreferrer noopener" target="_blank" style="color: #1068bf; margin-top: 0; text-decoration: none;">https://invent.kde.org/office/alkimia</a> ) because alkimia uses gmp, and gnutls 3.7.5 sets the realloc and free via mp_set_memory_functions, but doesn't set an alloc function.</p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">So __gmp_default_alloc is used for alloc, but gnutls_free_zero is used for free operations.</p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">If what's needed is to have a gnutls_alloc function I can take a stab at adding one tomorrow and will put up an MR after testing, etc.</p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">commit <a href="https://gitlab.com/gnutls/gnutls/-/commit/41c9c845a342359327403431050d3458246896af" data-original="41c9c845a342359327403431050d3458246896af" data-link="false" data-link-reference="false" data-project="179611" data-commit="41c9c845a342359327403431050d3458246896af" data-reference-type="commit" data-container="body" data-placement="top" title="Use custom allocators for GMP to make sure temporary secrets" class="gfm gfm-commit has-tooltip" style='color: #1068bf; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-size: 95%; margin-top: 0; text-decoration: none;'>41c9c845</a>
Author: Tobias Heider <a href="mailto:tobias.heider@canonical.com" style="color: #1068bf; text-decoration: none;">tobias.heider@canonical.com</a>
Date: Mon Mar 14 16:17:28 2022 +0100</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true" style='display: block; font-size: 13px; color: #303030; line-height: 1.6em; overflow-x: auto; border-radius: 2px; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; margin: 0 0 16px; padding: 12px; border: 1px solid #dbdbdb;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; white-space: pre; margin-top: 0; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">Use custom allocators for GMP to make sure temporary secrets</span>
<span id="LC2" class="line" lang="plaintext">from cryptographic operations in nettle are deleted safely.</span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext">Signed-off-by: Tobias Heider <tobias.heider@canonical.com></span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #303030; margin: 0;" align="initial">is the commit that breaks things btw.</p>
</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/-/issues/1367" style="color: #1068bf; text-decoration: none;">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/f63b47cb50227951f2dc327f1ea06c5c/unsubscribe" style="color: #1068bf; text-decoration: none;">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/1367"}}</script>
</p>
</div>
</body>
</html>