ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.66k stars 661 forks source link

Missing files with weird (invalid?) encoding #1209

Open tkukec opened 1 year ago

tkukec commented 1 year ago

Using /sbin/exa doesn't show files after encountering a file with a weird name

$ pacman -Q exa exa 0.10.1-7


- The command-line arguments you are using
None
- Your operating system and hardware platform
`Arch Linux x86_64`, kernel: `6.3.7-zen1-1-zen`, `Intel i5-9500F (6) @ 4.400GHz`

Minimal repro:

$ touch a $ touch b$'\302\237' $ touch c $ /sbin/exa (no output) $ /sbin/exa -1 a $ /bin/ls a 'b'$'\302\237' c



Originally found in this zip file: https://www.ncvvo.hr/wp-content/uploads/2021/06/MATA21ljeto1.zip