<!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 style="color: #777777;">
<a href="https://gitlab.com/rockdaboot">Tim Rühsen</a>
commented:
</p>
<div style="">
<p dir="auto"><a href="https://gitlab.com/noloader" data-user="3652046" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Jeffrey Walton">@noloader</a> What does the latest GnuTLS code say here ?</p>
<p dir="auto">If this is still an issue, let's first investigate where exactly alloca() is used:</p>
<p dir="auto">Within lib/nettle, the two defines of TMP_ALLOC that use alloca() only use it if HAVE_ALLOCA is defined Please check if <code>config.h</code> contains <code>#define HAVE_ALLOCA 1</code>. If that is the case, we have to find out why the linker doesn't find alloca(). Possibly a library missing in a Makefile.am !?.</p>
<p dir="auto">If HAVE_ALLOCA is not defined in <code>config.h</code>, this is a gnulib issue and we should ask on the gnulib ML fro help.</p>
<p dir="auto"><a href="https://gitlab.com/nmav" data-user="105950" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Nikos Mavrogiannopoulos">@nmav</a>, <a href="https://gitlab.com/lumag" data-user="112173" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Dmitry Eremin-Solenikov">@lumag</a> Can we get rid of the alloca() code in <code>cfb8.[hc]</code>, <code>nettle-internal.h</code> and <code>gostdsa-sign.c</code> ? Those wrappings into TMP_ALLOC and TMP_DECL make technically not much sense in this code (except for obfuscation and saving a few bytes on the stack). There is no stack-reallocation needed since the array sizes are fixed-size or have a pretty low upper limit.</p>
</div>


</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/782#note_259260887">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/a68e5ec449060d351ef65fe8fc1440f9/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/782#note_259260887"}}</script>


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