OSDN Git Service

Add a little bit of paranoia to the odex data reader.
authorDan Bornstein <danfuzz@android.com>
Tue, 17 Aug 2010 00:11:06 +0000 (17:11 -0700)
committerDan Bornstein <danfuzz@android.com>
Tue, 17 Aug 2010 22:05:27 +0000 (15:05 -0700)
commit33085cbedefd897069cdc12d2abb0d5627f14f36
tree261bb28c75249de6b89e7afc7fad40cde3a4ac1a
parent476e6f56353768a5d201e7f0b31d155515b805db
Add a little bit of paranoia to the odex data reader.

This prevents some potential segfaults when working with (e.g., trying
to run) corrupted dex files, turning them into more informative error
messages.

Change-Id: Ie6845087bb17a5f65fafbd6f9ff335b6af489996
libdex/DexFile.c