jrgifford / androguard

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

MemoryError when unzipping large APK files #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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