DonnyBrasco25 / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
0 stars 0 forks source link

MemoryError when unzipping large APK files #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Problem:

Extracting large APK files results in MemoryError in 
androguard/androguard/core/bytecodes/apk.py, line 273.

Fix:

Replace
buffer = self.zip.read(i)
by
buffer = self.zip.extract(i)

Original issue reported on code.google.com by julian.s...@gmx.net on 29 Jul 2013 at 10:30