mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2024-12-22 22:16:37 +08:00
Fix fuzzers build
This commit is contained in:
parent
995658834e
commit
e65a686982
@ -17,7 +17,7 @@ class Test1 : public oatpp::DTO {
|
||||
};
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
oatpp::String input(reinterpret_cast<const char*>(data), size, true);
|
||||
oatpp::String input(reinterpret_cast<const char*>(data), size);
|
||||
oatpp::parser::json::mapping::ObjectMapper mapper;
|
||||
try {
|
||||
mapper.readFromString<oatpp::Object<Test1>>(input);
|
||||
|
Loading…
Reference in New Issue
Block a user