diff options
Diffstat (limited to 'services/incremental/IncrementalService.cpp')
-rw-r--r-- | services/incremental/IncrementalService.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index 9a76e89ba20f..ed85b931c08e 100644 --- a/services/incremental/IncrementalService.cpp +++ b/services/incremental/IncrementalService.cpp @@ -1170,6 +1170,10 @@ bool IncrementalService::configureNativeBinaries(StorageId storage, std::string_ // If one lib file fails to be created, abort others as well break; } + // If it is a zero-byte file, skip data writing + if (uncompressedLen == 0) { + continue; + } // Write extracted data to new file std::vector<uint8_t> libData(uncompressedLen); |