News for hackers. Stuff that matters.
Re:Arbitrary file write vulnerability in GNU gzip's zgrep ut... by scottlamb on Monday April 18, 2022 @05:18PM (#31076688)
> For example a new line is valid in a linux file name, but I've never legitimately used one, or do I believe I've even seen one in the last 25 years of using Linux.

Likewise. I wonder if SELinux or AppArmor or the like allows setting a policy for valid filenames to create. E.g. no newlines, only valid UTF-8, only printable characters.

Re:Arbitrary file write vulnerability in GNU gzip's zgrep ut... by zeroimpl on Monday April 18, 2022 @07:30PM (#31078051)
I’d like to see a flag somewhere to enable this. Perhaps it is a filesystem flag, similar to case-sensitivity.