<!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/rockdaboot">Tim Rühsen</a> created an issue:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">Currently we have <code>asn1_parser2tree()</code> which takes input from a given filename.
This requires <code>_asn1_yylex()</code> to do lot's of (buffered but slow) I/O. A function that takes a block of memory seems to be more elegant, less code and faster execution.</p>
<p dir="auto">Also, the current situation forces us to 'overwrite' <code>fopen()</code> when fuzzing <code>asn1_parser2tree()</code>. That introduces non-portable functions like <code>dlsym()</code> and <code>fmemopen()</code>. Regression testing the fuzz corpora as we do with <code>make check</code> has the same caveats. Thus the tests can't be run on every platform.</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/libtasn1/issues/21">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/2217d20dbc5e4d7c9b6033b84defc814/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/libtasn1/issues/21"}}</script>


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