Merge "zip_archive.cc: delete android_errorWriteLog"
am: 832bd17a0b
Change-Id: I9e8a477e22e2e75f46d1ee63f8b82bf9e07ba049
This commit is contained in:
commit
0ae7fe2d48
1 changed files with 0 additions and 5 deletions
|
|
@ -278,11 +278,6 @@ static int32_t MapCentralDirectory0(const char* debug_file_name, ZipArchive* arc
|
||||||
if (static_cast<off64_t>(eocd->cd_start_offset) + eocd->cd_size > eocd_offset) {
|
if (static_cast<off64_t>(eocd->cd_start_offset) + eocd->cd_size > eocd_offset) {
|
||||||
ALOGW("Zip: bad offsets (dir %" PRIu32 ", size %" PRIu32 ", eocd %" PRId64 ")",
|
ALOGW("Zip: bad offsets (dir %" PRIu32 ", size %" PRIu32 ", eocd %" PRId64 ")",
|
||||||
eocd->cd_start_offset, eocd->cd_size, static_cast<int64_t>(eocd_offset));
|
eocd->cd_start_offset, eocd->cd_size, static_cast<int64_t>(eocd_offset));
|
||||||
#if defined(__ANDROID__)
|
|
||||||
if (eocd->cd_start_offset + eocd->cd_size <= eocd_offset) {
|
|
||||||
android_errorWriteLog(0x534e4554, "31251826");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
return kInvalidOffset;
|
return kInvalidOffset;
|
||||||
}
|
}
|
||||||
if (eocd->num_records == 0) {
|
if (eocd->num_records == 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue