commit | a7ade84087dc596fd1b119feeab79788e2659cf0 | [log] [tgz] |
---|---|---|
author | Luka Koznjak <luka.koznjak@sartura.hr> | Mon Sep 14 13:56:03 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Sep 29 10:34:34 2020 +0200 |
tree | 0f99bfadbf3db81c1240d8209f9dd2afd97bf1f8 | |
parent | 8398de2ef1e5fb6cee01ff9d384aac5cbb41abb6 [diff] [blame] |
fuzzing BUGFIX fuzz harnesses Update lys_parse_mem and lyd_parse_mem fuzz harnesses to work with API changes introduced in 7931b19.
diff --git a/tests/fuzz/lys_parse_mem.c b/tests/fuzz/lys_parse_mem.c index 516a6d9..59884f3 100644 --- a/tests/fuzz/lys_parse_mem.c +++ b/tests/fuzz/lys_parse_mem.c
@@ -30,7 +30,7 @@ memcpy(data, buf, len); data[len] = 0; - lys_parse_mem(ctx, data, LYS_IN_YANG); + lys_parse_mem(ctx, data, LYS_IN_YANG, NULL); ly_ctx_destroy(ctx, NULL); free(data); return 0;