<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<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> I wonder why our CI scan-build didn't find this obvious issue. And I believe that is because we don't use function attributes 'malloc' (and '__alloc_size' for clang).</p>
<p dir="auto"><a href="https://gitlab.com/mia2019" data-user="3756518" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Elta Koepp">@mia2019</a> Would you like to investigate here ?</p>
<ul dir="auto">
<li>make a define for the gcc attribute 'malloc'</li>
<li>add the attribute (macro) to gnutls allocation functions</li>
<li>push the branch to see 'static-analyzers.Fedora.x86_64' fail (at least I hope so)</li>
<li>if it fails, click on the failed job, then on 'browse'... you'll find the issues listed there</li>
<li>open new issue(s), make up a fix, push MR, ...</li>
</ul>
</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/960#note_154767047">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/96cd9dab7652b27f103f2e01a73d36de/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/960#note_154767047"}}</script>
</p>
</div>
</body>
</html>