git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6fc8e7
)
lib/fuzzing: Fix argument order to ldb_filter_from_tree in fuzz_ldb_parse_tree
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 11 Dec 2019 01:09:25 +0000
(14:09 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 11 Dec 2019 04:21:28 +0000
(
04:21
+0000)
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
lib/fuzzing/fuzz_ldb_parse_tree.c
patch
|
blob
|
history
diff --git
a/lib/fuzzing/fuzz_ldb_parse_tree.c
b/lib/fuzzing/fuzz_ldb_parse_tree.c
index 01dbc124e2f1240f72d7674439d796a95ea5bbec..e22dd776110a0b3dfa4a10a09d9c222cadbae8cd 100644
(file)
--- a/
lib/fuzzing/fuzz_ldb_parse_tree.c
+++ b/
lib/fuzzing/fuzz_ldb_parse_tree.c
@@
-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);