Skip to content

Commit

Permalink
add fuzz reproductions for run 13732252459; json_multi_param_fuzzer; …
Browse files Browse the repository at this point in the history
…duckdb ref: v1.2-histrionicus;
  • Loading branch information
fuzzerofducks committed Mar 8, 2025
1 parent 1b825d3 commit ec659b9
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"file_name": "case_0.json",
"arguments": "columns={'v':'VARCHAR','k':'VA'>h->S}, ignore_errors=true"
},
{
"file_name": "case_1.json",
"arguments": "sample_size=1"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[4, "hello"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{"id":1,"name":"O Brother, Where Art Thou?"}
{"id":2}
{"id":3,"name":"The Firm"}
{"id":4}
{"id":5,"name6666666666666666666%66&666":"Raising Arizona"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# name: test/fuzzer/afl/json_multi_param_fuzzer-d9673ba133b6b97cb81ea34dfe66420ae995e7e7.test
# description: fuzzer generated json files - should not raise internal exception (by failed assertion).
# group: [json]

require json

statement ok
PRAGMA enable_verification

query I
select count(file) from glob('./data/json/afl/13732252459_json_fuzz_error/*');
----
2

statement maybe
FROM read_json('data/json/afl/13732252459_json_fuzz_error/case_0.json', columns={'v':'VARCHAR','k':'VA'>h->S}, ignore_errors=true);
----

statement maybe
FROM read_json('data/json/afl/13732252459_json_fuzz_error/case_1.json', sample_size=1);
----

0 comments on commit ec659b9

Please sign in to comment.