summaryrefslogtreecommitdiff
path: root/libs/utils/ZipFileRO.cpp
diff options
context:
space:
mode:
author Kenny Root <kroot@google.com> 2010-05-06 16:06:48 -0700
committer Kenny Root <kroot@google.com> 2010-05-06 16:35:21 -0700
commit485dd21bbefde378c392da3de48887aee9fabebe (patch)
tree5ca10e140988dde25261989d3d2c58e04a906193 /libs/utils/ZipFileRO.cpp
parent9d164dc5c1be55287725343349923f705a5bf8d4 (diff)
Prevent local reference table overflows
If we're grabbing references to many strings in a loop, we have to remove our local references so we don't overflow the VM's local reference table. Also, use env->ExceptionCheck() instead of checking for NULL value returns on trying to allocate new items. Bug: 2663816 Change-Id: I9cb5e17f6181dbb2f2c03d53841b2f5d8ab10f68
Diffstat (limited to 'libs/utils/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions