From 4f81130039f6a312eba2027b3594a2be282f6b3a Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Wed, 16 Sep 2020 14:06:12 -0400 Subject: Switch to zip64 in recovery There's already library support for zip64 in libziparchive. We just need to start using the new APIs. Bug: 167951876 Test: Sideload a large ota package in recovery Change-Id: I652741965f28de079d873c6822317ee9fa855201 --- install/verifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/verifier.cpp') diff --git a/install/verifier.cpp b/install/verifier.cpp index ab750442d..d8bc53f69 100644 --- a/install/verifier.cpp +++ b/install/verifier.cpp @@ -321,7 +321,7 @@ static std::vector IterateZipEntriesAndSearchForKeys(const ZipArchi std::vector result; std::string_view name; - ZipEntry entry; + ZipEntry64 entry; while ((iter_status = Next(cookie, &entry, &name)) == 0) { std::vector pem_content(entry.uncompressed_length); if (int32_t extract_status = -- cgit v1.2.3