ReFirmLabs / binwalk

Firmware Analysis Tool
MIT License
10.54k stars 1.51k forks source link

Update unpfs.py to get node_size from the HEADER #555

Closed ghost closed 7 months ago

ghost commented 3 years ago

There is a miscalculation, must be: self.node_size = self._get_fname_len() + 11 But you can take the value from the HEADER and skip the loop