rmusser01 / pefile

Automatically exported from code.google.com/p/pefile
Other
0 stars 1 forks source link

bug in parse_imports (trunk version) #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I have attached file which get the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-i686/egg/pefile.py", line 1443, in __init__
  File "build/bdist.linux-i686/egg/pefile.py", line 1730, in __parse__
  File "build/bdist.linux-i686/egg/pefile.py", line 2002, in 
parse_data_directories
  File "build/bdist.linux-i686/egg/pefile.py", line 3006, in 
parse_import_directory
  File "build/bdist.linux-i686/egg/pefile.py", line 3136, in parse_imports
UnboundLocalError: local variable 'name_offset' referenced before 
assignment

Best regards,
Kirill Yakovenko

Original issue reported on code.google.com by yakovenko87@gmail.com on 2 Jun 2010 at 8:08

GoogleCodeExporter commented 9 years ago
Sorry, Here is this file.
I forgot to specify that I use 1.2.10-73 version of pefile.

|Also, I wanted to share with you the pefile group ...
Thanks, I am very glad.

Original comment by yakovenko87@gmail.com on 2 Jun 2010 at 2:18

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in revision 75

Original comment by ero.carr...@gmail.com on 2 Jun 2010 at 11:25