diff options
Diffstat (limited to 'ossfuzz/json_load_fuzzer.cc')
-rw-r--r-- | ossfuzz/json_load_fuzzer.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ossfuzz/json_load_fuzzer.cc b/ossfuzz/json_load_fuzzer.cc deleted file mode 100644 index 09e7da5..0000000 --- a/ossfuzz/json_load_fuzzer.cc +++ /dev/null @@ -1,11 +0,0 @@ -#include <stdint.h> - -#include "jansson.h" - -extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { - json_error_t error; - auto jobj = json_loadb(reinterpret_cast<const char *>(data), size, 0, &error); - if (jobj) - json_decref(jobj); - return 0; -} |