Skip to content

Commit 6a9f0b0

Browse files
author
fuzzerofducks
committed
add fuzz reproductions for run 14276794805; json_multi_param_fuzzer; duckdb ref: v1.2-histrionicus;
1 parent d24f1a1 commit 6a9f0b0

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"file_name": "case_0.json",
4+
"arguments": "convert_strings_to_integers=true, sample_size=1"
5+
},
6+
{
7+
"file_name": "case_1.json",
8+
"arguments": "convert_strings_to_integers=true, sample_size=1"
9+
}
10+
]
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],"name":"The Firm"}
4+
{"id":4,"name":"Broadcast News"}
5+
{"i555555555C%5.5555d":"Raising Arizona"}
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+
{"i%d":[3],"name":"The Firm"}
4+
{"id":4,"name":"Broadcast News"}
5+
{"id":"Raising Arizona"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# name: test/fuzzer/afl/json_multi_param_fuzzer-ee8634984e690c100ff6662c250b8b0019b50118.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/14276794805_json_fuzz_error/*');
12+
----
13+
2
14+
15+
statement maybe
16+
FROM read_json('data/json/afl/14276794805_json_fuzz_error/case_0.json', convert_strings_to_integers=true, sample_size=1);
17+
----
18+
19+
statement maybe
20+
FROM read_json('data/json/afl/14276794805_json_fuzz_error/case_1.json', convert_strings_to_integers=true, sample_size=1);
21+
----
22+

0 commit comments

Comments
 (0)