mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +08:00
Update fuzz.cpp
This commit is contained in:
parent
d81a3caece
commit
6d236e1948
@ -16,7 +16,7 @@ namespace Json {
|
||||
class Exception;
|
||||
}
|
||||
|
||||
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
Json::CharReaderBuilder builder;
|
||||
|
||||
if (size < sizeof(uint32_t)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user