Searched refs:cd_length (Results 1 – 1 of 1) sorted by relevance
485 const size_t cd_length = archive->central_directory.GetMapLength(); in ParseZipArchive() local501 const uint8_t* const cd_end = cd_ptr + cd_length; in ParseZipArchive()506 cd_length); in ParseZipArchive()524 if (file_name_length >= cd_length || file_name > cd_end - file_name_length) { in ParseZipArchive()527 i, file_name_length, cd_length); in ParseZipArchive()532 if (extra_length >= cd_length || extra_field > cd_end - extra_length) { in ParseZipArchive()535 i, extra_length, cd_length); in ParseZipArchive()574 if ((ptr - cd_ptr) > static_cast<int64_t>(cd_length)) { in ParseZipArchive()575 ALOGW("Zip: bad CD advance (%tu vs %zu) at entry %" PRIu64, ptr - cd_ptr, cd_length, i); in ParseZipArchive()