mirror of
https://github.com/eledio-devices/thirdparty-miniz.git
synced 2025-10-30 16:15:41 +01:00
zip_fuzzer: omit file validation
this is an unbounded operation
This commit is contained in:
@@ -33,7 +33,6 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
if(mz_zip_reader_is_file_a_directory(&zip, i)) continue;
|
||||
|
||||
mz_zip_validate_file(&zip, i, MZ_ZIP_FLAG_VALIDATE_HEADERS_ONLY);
|
||||
mz_zip_validate_file(&zip, i, 0);
|
||||
|
||||
if(mz_zip_reader_is_file_encrypted(&zip, i)) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user