diff options
author | Ajay Raghothama <ajayr@codeaurora.org> | 2013-11-14 20:35:01 +0530 |
---|---|---|
committer | Ajay Raghothama <ajayr@codeaurora.org> | 2013-11-20 14:59:48 +0530 |
commit | 8ebe8b2697a6ed9bc748f969ff088d86f767ee15 (patch) | |
tree | 559cb41308a6918612a51b1b175240126254ac59 /vm | |
parent | 38711d3f917d1ef61737da232af5ab9f45b005ff (diff) | |
download | android_dalvik-8ebe8b2697a6ed9bc748f969ff088d86f767ee15.tar.gz android_dalvik-8ebe8b2697a6ed9bc748f969ff088d86f767ee15.tar.bz2 android_dalvik-8ebe8b2697a6ed9bc748f969ff088d86f767ee15.zip |
Dalvik : Increase the upper limit check for DexOpt Deps table
Increasing upper limit check for the Deps table as additonal
jars added causes the dalvik to crash while performing dexopt
on cached jar files. This is needed for passing cts test case
which is part of libcore.java.util.jar.DalvikExecTest class.
CRs-Fixed: 573586
Change-Id: Ic991ca7b49cdd80cdba330edc759ece43361f9fb
Diffstat (limited to 'vm')
-rw-r--r-- | vm/analysis/DexPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/analysis/DexPrepare.cpp b/vm/analysis/DexPrepare.cpp index e8112d543..b0147b3f2 100644 --- a/vm/analysis/DexPrepare.cpp +++ b/vm/analysis/DexPrepare.cpp @@ -1153,7 +1153,7 @@ static const u1* getSignature(const ClassPathEntry* cpe) * If this changes, update DEX_OPT_MAGIC_VERS. */ static const size_t kMinDepSize = 4 * 4; -static const size_t kMaxDepSize = 4 * 4 + 2048; // sanity check +static const size_t kMaxDepSize = 4 * 4 + 2448; // sanity check /* * Read the "opt" header, verify it, then read the dependencies section |