-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add fuzz reproductions for run 13732252459; json_multi_param_fuzzer; …
…duckdb ref: v1.2-histrionicus;
- Loading branch information
fuzzerofducks
committed
Mar 8, 2025
1 parent
1b825d3
commit ec659b9
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...73ba133b6b97cb81ea34dfe66420ae995e7e7/json_multi_param_fuzzer/crashes/_REPRODUCTIONS.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] |
1 change: 1 addition & 0 deletions
1
...icus-d9673ba133b6b97cb81ea34dfe66420ae995e7e7/json_multi_param_fuzzer/crashes/case_0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[4, "hello"] |
5 changes: 5 additions & 0 deletions
5
...icus-d9673ba133b6b97cb81ea34dfe66420ae995e7e7/json_multi_param_fuzzer/crashes/case_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
22 changes: 22 additions & 0 deletions
22
..._multi_param_fuzzer/json_multi_param_fuzzer-d9673ba133b6b97cb81ea34dfe66420ae995e7e7.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
---- | ||
|