[gnutls-devel] libtasn1 | Add function asn1_parser2tree_mem() (#21)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Thu Aug 1 11:59:34 CEST 2019
Tim Rühsen created an issue:
## Description of problem:
Currently we have `asn1_parser2tree()` which takes input from a given filename.
This requires `_asn1_yylex()` 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.
Also, the current situation forces us to 'overwrite' `fopen()` when fuzzing `asn1_parser2tree()`. That introduces non-portable functions like `dlsym()` and `fmemopen()`. Regression testing the fuzz corpora as we do with `make check` has the same caveats. Thus the tests can't be run on every platform.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/issues/21
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel