#970514 p7zip-full: interprets file names with '*' in it in archives

Package:
p7zip-full
Source:
p7zip
Description:
7z and 7za file archivers with high compression ratio
Submitter:
Marc Lehmann
Date:
2025-03-14 14:51:03 UTC
Severity:
normal
Tags:
#970514#5
Date:
2020-09-17 19:54:41 UTC
From:
To:
Dear Maintainer,

when unpacking (zip) archives with filenames containing '*', 7za seems to
interpret at least '*' in filenames in a weird (and worrying) way. For
example, when unpacking the solaris 10u11 recommended patchset zip, I get
this message (neither file existed on the filesystem when running 7za,
both are inside the archive):

   Would you like to replace the existing file:
     Path:     ./10_Recommended/patches/145006-09/SUNWwebminu/reloc/usr/sfw/lib/webmin/ldap-useradmin/config-sol-linux
     Size:     385 bytes (1 KiB)
     Modified: 2014-12-31 20:06:54
   with the file from archive:
     Path:     10_Recommended/patches/145006-09/SUNWwebminu/reloc/usr/sfw/lib/webmin/ldap-useradmin/config-*-linux
     Size:     416 bytes (1 KiB)
     Modified: 2014-12-31 20:06:54
   ? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit?

This happens whenever the archive contains filenames with '*' in
them. Obviously, 7za should handle '*' and related characters like any
other valid character in filenames.