Skip to content

Commit 054f7aa

Browse files
author
fuzzerofducks
committed
add fuzz reproductions for run 14414611535; json_multi_param_fuzzer; duckdb ref: v1.2-histrionicus;
1 parent acff2ca commit 054f7aa

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"file_name": "case_0.json",
4+
"arguments": "sample_size=2"
5+
}
6+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{"id":"1","name":null}
2+
{"id":2,"name":"Home for the Holidays"}
3+
{"id":[3],"na[]1%me":"The Firm"}
4+
{"ida":4,"name":"Broadcast News"}
5+
{"id":5,"name":"Raising Arizona"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# name: test/fuzzer/afl/json_multi_param_fuzzer-7c039464e452ddc3330e2691d3fa6d305521d09b.test
2+
# description: fuzzer generated json files - should not raise internal exception (by failed assertion).
3+
# group: [json]
4+
5+
require json
6+
7+
statement ok
8+
PRAGMA enable_verification
9+
10+
query I
11+
select count(file) from glob('./data/json/afl/14414611535_json_fuzz_error/*');
12+
----
13+
1
14+
15+
statement maybe
16+
FROM read_json('data/json/afl/14414611535_json_fuzz_error/case_0.json', sample_size=2);
17+
----
18+

0 commit comments

Comments
 (0)