Skip to content

Some question about fuzz test #1013

Closed
Closed
@dota17

Description

@dota17

I spent a little time sorting out some information. here are what I got:
We implement a fuzz target in fuzz.cpp, which integrated into this project's build and test system, and will be really used by project OSS-Fuzz,which contains a fuzzer. and the fuzzer will feed massive data to fuzz target until there is a crash.
If we run fuzz.cpp by the method that I used in issue #1009 where its fuzzer is directly comes from libFuzzer.a, it does have an crash. This means there is a buffer overflow in fuzz.cpp, and when I run the code in your PR #994 with a dict, there are also some crashes. So my question is :

  1. Does this also means there is a buffer overflow in some APIs of jsoncpp?

  2. And if the testcase in main.cpp run the fuzz test without any fuzzer, then it will always pass the build&unittest, so is this test case still useful?

@Google-Autofuzz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions