File "/app/venv/lib/python3.6/site-packages/pefile.py", line 2743, in __init__\n self.__parse__(name, data, fast_load)\n File "/app/venv/lib/python3.6/site-packages/pefile.py", line 3148, in __parse__\n self.full_load()\n
File "/app/venv/lib/python3.6/site-packages/pefile.py", line 3259, in full_load\n self.parse_data_directories()\n
File "/app/venv/lib/python3.6/site-packages/pefile.py", line 3559, in parse_data_directories\n if value:\nUnboundLocalError: local variable 'value' referenced before assignment\n"
If a PEFormatError exception occurs since the value variable is never assigned and will raise an UnboundLocalError exception in the next if clause.
We faced this issue while unpacking a pefile:
If a PEFormatError exception occurs since the value variable is never assigned and will raise an UnboundLocalError exception in the next if clause.