1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

lib/fuzzing: Fix argument order to ldb_filter_from_tree in fuzz_ldb_parse_tree

Found by the oss-fuzz CI tooling.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Dec 11 04:21:28 UTC 2019 on sn-devel-184
This commit is contained in:
Andrew Bartlett 2019-12-11 14:09:25 +13:00
parent e6fc8e79ae
commit 545711ffea

View File

@ -44,7 +44,7 @@ int LLVMFuzzerTestOneInput(uint8_t *buf, size_t len)
tree = ldb_parse_tree(mem_ctx, filter);
(void)ldb_filter_from_tree(tree, mem_ctx);
(void)ldb_filter_from_tree(mem_ctx, tree);
out:
talloc_free(mem_ctx);