Signed-off-by: huangshiwei <huangshiwei4@huawei.com>
This commit is contained in:
huangshiwei
2024-12-11 11:00:42 +08:00
parent 4ae37b7062
commit ce04a7e9ef
186 changed files with 193 additions and 193 deletions
@@ -103,7 +103,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
return 0;
}
char* ch = (char*)malloc(size + 1);
char* ch = static_cast<char*>(malloc(size + 1));
if (ch == nullptr) {
std::cout << "malloc failed." << std::endl;
return 0;