zip_archive.cc: delete android_errorWriteLog
The process of determining whether or not to emit a safetynet error entry while processing a malformed file relies on addition overflow. Since this is only logging, and logging which isn't used, delete the code instead of trying to fix the logic which is causing the integer overflow. This change is necessary to enable integer sanitization on this code. Somewhat related to Bug: 122975762 Test: atest ziparchive-tests Change-Id: I6b41ccf7881348cb4e5236324eaa44a05662a725
Loading
Please register or sign in to comment