Home
last modified time | relevance | path

Searched refs:cd_length (Results 1 – 1 of 1) sorted by relevance

/system/libziparchive/
Dzip_archive.cc446 const size_t cd_length = archive->central_directory.GetMapLength(); in ParseZipArchive() local
462 const uint8_t* const cd_end = cd_ptr + cd_length; in ParseZipArchive()
467 cd_length); in ParseZipArchive()
485 if (file_name_length >= cd_length || file_name > cd_end - file_name_length) { in ParseZipArchive()
488 i, file_name_length, cd_length); in ParseZipArchive()
493 if (extra_length >= cd_length || extra_field > cd_end - extra_length) { in ParseZipArchive()
496 i, extra_length, cd_length); in ParseZipArchive()
535 if ((ptr - cd_ptr) > static_cast<int64_t>(cd_length)) { in ParseZipArchive()
536 ALOGW("Zip: bad CD advance (%tu vs %zu) at entry %" PRIu64, ptr - cd_ptr, cd_length, i); in ParseZipArchive()