summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2013-11-21 13:55:32 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2013-11-21 13:55:32 -0800
commitfd87723884d75a06fbcdf5f9a6b36c7ae1dea014 (patch)
treeeb2c3f6bc0e07e9b9b225ab993de63993428f3be
parent61229ba4e83c4124a1611816a1ebfa620c60fec2 (diff)
parent8ebe8b2697a6ed9bc748f969ff088d86f767ee15 (diff)
downloadandroid_dalvik-fd87723884d75a06fbcdf5f9a6b36c7ae1dea014.tar.gz
android_dalvik-fd87723884d75a06fbcdf5f9a6b36c7ae1dea014.tar.bz2
android_dalvik-fd87723884d75a06fbcdf5f9a6b36c7ae1dea014.zip
Merge "Dalvik : Increase the upper limit check for DexOpt Deps table"
-rw-r--r--vm/analysis/DexPrepare.cpp2
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