<!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/jjelen">Jakub Jelen</a>
commented:
</p>
<div style="">
<p dir="auto">The failure in static analyzer looks to me like a false positive:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"> pubkey.c:1499:35: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'y')</span>
<span id="LC2" class="line" lang="plaintext"> (&key->params.params[ECC_Y], y->data, y->size)) {</span>
<span id="LC3" class="line" lang="plaintext"> ^~~~~~~</span></code></pre>
<p dir="auto">This is in <code>gnutls_pubkey_import_ecc_raw()</code>, which is called only from <code>gnutls_pubkey_import_ecc_eddsa()</code> with <code>GNUTLS_ECC_CURVE_ED25519</code> curve, which is not going into this branch at all.</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/-/merge_requests/1200#note_296847640">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/64905a3f0797d94bd0fc14bf06bd09f1/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/1200#note_296847640"}}</script>
</p>
</div>
</body>
</html>