Skip to content

AFL++ run 14276794805: crashes or hangs found for read_json() on: ee8634984e690c100ff6662c250b8b0019b50118 #4108

Open
@fuzzerofducks

Description

@fuzzerofducks

Issue found by json_multi_param_fuzzer for duckdb commit hash ee8634984e690c100ff6662c250b8b0019b50118

  • crashes found: 2
  • hangs found: 0

Scenario

duckdb:

  • SHA: ee8634984e690c100ff6662c250b8b0019b50118
  • version: v1.2.2-dev213 ee8634984e
  • ref: v1.2-histrionicus

fuzzer:

Reproduction

steps:

  1. download the json files generated by the fuzzer from https://github.com/duckdb/duckdb-fuzzer/tree/main/fuzz_result_duckdb_file_readers/run_14276794805/v1-2-histrionicus-ee8634984e690c100ff6662c250b8b0019b50118/json_multi_param_fuzzer
git clone --no-checkout [email protected]:duckdb/duckdb-fuzzer.git afl_repr
cd afl_repr
git sparse-checkout set --no-cone fuzz_result_duckdb_file_readers/run_14276794805/v1-2-histrionicus-ee8634984e690c100ff6662c250b8b0019b50118/json_multi_param_fuzzer
git checkout
  1. copy the sqllogic test to a local duckdb repo; update the paths in the file to point to the location where you downloaded the json files
    https://github.com/duckdb/duckdb-fuzzer/tree/main/fuzz_result_duckdb_file_readers/run_14276794805/v1-2-histrionicus-ee8634984e690c100ff6662c250b8b0019b50118/json_multi_param_fuzzer/json_multi_param_fuzzer-ee8634984e690c100ff6662c250b8b0019b50118.test

  2. run the sqllogic tests to reproduce the error. Note that some crashes do not occur every run, so run multiple times if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AFLIssue generated by AFL++ fuzzer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions