armijnhemel / binaryanalysis-ng

Binary Analysis Next Generation (BANG)
GNU Affero General Public License v3.0
461 stars 66 forks source link

zip: fix unpacking of files with a relative path, mimic behaviour of zip and p7zip #368

Closed armijnhemel closed 7 months ago

armijnhemel commented 7 months ago

BANG would incorrectly unpack ZIP files containing the parent directory in the file name path (..). This PR fixes that bug.