Merge "sparse_fuzzer: Bug fix"

This commit is contained in:
Treehugger Robot 2022-04-28 12:53:23 +00:00 committed by Gerrit Code Review
commit a9eee03c56

View file

@ -23,5 +23,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
if (!file) {
return 0;
}
return sparse_file_callback(file, false, false, WriteCallback, nullptr);
int32_t result = sparse_file_callback(file, false, false, WriteCallback, nullptr);
sparse_file_destroy(file);
return result;
}