<!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/nmav">Nikos Mavrogiannopoulos</a> created an issue:
</p>
<div></div>
<p dir="auto">The APIs in <code>lib/x509/ocsp*.c</code> rely on several cases on the fact that <code>_gnutls_x509_read_value</code> will incorrectly include the null terminated byte into the size for object identifier strings. This is sometimes reflected to exported APIs and thus a fix in the handling of the original function cannot happen without changing assumptions by user programs. The functions that are affected are:</p>
<ul dir="auto">
<li><code>gnutls_ocsp_req_get_extension()</code></li>
<li><code>gnutls_ocsp_resp_get_response()</code></li>
<li><code>gnutls_ocsp_resp_get_extension()</code></li>
</ul>
<p dir="auto">I recommend to fix that deficiency in <code>_gnutls_x509_read_value</code> (see attached patch) in a minor release update (3.7.0), and document the change on the affected functions.</p>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/d48d06f9c56595640322e16ec9a7687b/patch.txt">patch.txt</a></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/805">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/cc3a0fdf47efe33927dd383e761d8176/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/805"}}</script>


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