Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/MicroDexed/src/commit/1c14c1fa33c25e97040b5f5553c2022e6b1269c4/third-party/ArduinoJson/extras/fuzzing/msgpack_fuzzer.cpp
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
#include <ArduinoJson.h>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|
DynamicJsonDocument doc(4096);
|
|
DeserializationError error = deserializeMsgPack(doc, data, size);
|
|
if (!error) {
|
|
std::string json;
|
|
serializeMsgPack(doc, json);
|
|
}
|
|
return 0;
|
|
}
|
|
|