commit | e75f2b230a1188ebfeffcb7737dfe94bcc0f9e44 | [log] [tgz] |
---|---|---|
author | Albert Gorski <sagorski@ncsu.edu> | Sun Oct 09 21:16:54 2016 -0400 |
committer | Ben Gruver <bgruv@google.com> | Sat Oct 15 21:12:23 2016 -0700 |
tree | de56956302a27b52a6253e54d9eeb9bcb5b4d5e4 | |
parent | 5189797292086a051666cf8c96cf44c6a23321b6 [diff] |
Ensure the ZipFile is closed in isZipFile() of ZipDexContainer When calling isZipFile() in ZipDexContainer, the ZipFile would remain open if the file was in fact a zip file but the ZipFile object would then go out of scope thus creating a resource leak. This ensures that the ZipFile is closed by adding a finally clause containing a close call at the end of the try catch block.
smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android‘s Java VM implementation. The syntax is loosely based on Jasmin’s/dedexer's syntax, and supports the full functionality of the dex format (annotations, debug info, line info, etc.)
Downloads are at https://bitbucket.org/JesusFreke/smali/downloads. If you are interested in submitting a patch, feel free to send me a pull request here.
See the wiki for more info/news/release notes/etc.