diff options
| author | Benoit Lamarche <benoitlamarche@google.com> | 2013-11-27 16:38:17 +0100 |
|---|---|---|
| committer | LorDClockaN <davor@losinj.com> | 2014-06-03 16:28:27 +0200 |
| commit | e1ee903347f0456c5916b6cff50125cb77494408 (patch) | |
| tree | 2a0da056c5bb20633a6f55b30a2d49e51af5634e /vm/compiler/codegen/mips/CodegenDriver.cpp | |
| parent | 439b6a953b0f14aa6c58e7b1404bc931b9320675 (diff) | |
Fix BufferOverflowException when merging dexes
Bug: 11519714
The bug was due to the fact that when merging 2 dexes, not enough size may be reserved for the "typeLists" section.
This is because we only aligned the sum of the size of both sections.
If both typeLists sections were aligned with 2 and not with 4, we are 4 bytes short when writing.
Change-Id: I73b51eb25434a622143011741a69b88d42507f43
(cherry picked from commit 2241dbe132cf90b58f93c014bdd807405b7f82f5)
Diffstat (limited to 'vm/compiler/codegen/mips/CodegenDriver.cpp')
0 files changed, 0 insertions, 0 deletions
