Commits

Victor Stinner committed de864cb

PE parser: fix createSectionName(), return "section[]" on error

  • Participants
  • Parent commits 670c26a

Comments (0)

Files changed (1)

hachoir-parser/hachoir_parser/program/exe_pe.py

                 return "section_%s" % name
         except HACHOIR_ERRORS, err:
             self.warning(unicode(err))
-            return "section[]"
+        return "section[]"
 
 class DataDirectory(FieldSet):
     def createFields(self):