[gnutls-devel] libtasn1 | Add initial fuzzing implementation (!38)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Jul 31 16:17:28 CEST 2019




Tim Rühsen commented on a discussion on fuzz/libtasn1_parser2tree_fuzzer.c: https://gitlab.com/gnutls/libtasn1/merge_requests/38#note_198312353

> + * You should have received a copy of the GNU Lesser General Public License
> + * along with libwget.  If not, see <https://www.gnu.org/licenses/>.
> + */
> +
> +#include <config.h>
> +
> +#include <stdlib.h> // malloc, free
> +#include <string.h> // strcmp, memcpy
> +
> +#include "libtasn1.h"
> +#include "fuzzer.h"
> +
> +static const uint8_t *g_data;
> +static size_t g_size;
> +
> +//#if defined HAVE_DLFCN_H && defined HAVE_FMEMOPEN

Added a check for fmemopen() in configure.ac and made the comment a real check.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/38#note_198312353
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190731/47f4381b/attachment-0001.html>


More information about the Gnutls-devel mailing list