Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7754367c authored by Greg Hackmann's avatar Greg Hackmann Committed by Android Git Automerger
Browse files

am 91080a42: am 2de01f5a: Merge "libziparchive: fix extraction of >2GiB images"

* commit '91080a42':
  libziparchive: fix extraction of >2GiB images
parents 49da340d 91080a42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1123,7 +1123,7 @@ int32_t ExtractToMemory(ZipArchiveHandle handle,

int32_t ExtractEntryToFile(ZipArchiveHandle handle,
                           ZipEntry* entry, int fd) {
  const int32_t declared_length = entry->uncompressed_length;
  const uint32_t declared_length = entry->uncompressed_length;

  const off64_t current_offset = lseek64(fd, 0, SEEK_CUR);
  if (current_offset == -1) {