diff options
| author | 2022-01-07 11:57:24 +0000 | |
|---|---|---|
| committer | 2022-01-10 08:33:29 +0000 | |
| commit | 0d0e09d6f9fb7a37eedb68e9825d4d37b52b4410 (patch) | |
| tree | 7135f4caa08a4b22e00336c0eec09e17d0773323 /compiler/optimizing/optimizing_compiler.cc | |
| 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
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions