commit | 0d0e09d6f9fb7a37eedb68e9825d4d37b52b4410 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Jan 07 11:57:24 2022 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Jan 10 08:33:29 2022 +0000 |
tree | 7135f4caa08a4b22e00336c0eec09e17d0773323 | |
parent | fcdc7cf0a9ec87b4c778c18acae57cc458839d33 [diff] |
Do not continue loading a vdex if we don't have enough reserved space. It's always a sign that something is off and the oat file should be rejected. Note that if we continue loading, and the oat file somehow does not get rejected, we will end up in a bogus situation where the OatFile has a wrong value for vdex_begin_ and vdex_end_. Test: test.py Bug: 211367695 Change-Id: I6d6db4bc35f103c2aa935e91b2d329974cbd2d6b