News for hackers. Stuff that matters.
Re:Hints for writing Unix tools by userbinator on Monday October 20, 2014 @10:54PM (#8485711)
Pathological or not, ensuring that pathnames can essentially contain any byte value except the 0 terminator, and it will still work, is important to prevent surprising behaviour which often has security implications.
Re:Hints for writing Unix tools by typedweb on Tuesday October 21, 2014 @02:10PM (#8488804)
The only character not allowed in Unix file names is the forward slash directory separator, so even that would be a pathological mistake waiting to bite someone.

Edit: my mistake, they can't contain nulls either: https://news.ycombinator.com/item?id=8485861

Re:Hints for writing Unix tools by myhf on Monday October 20, 2014 @11:24PM (#8485768)
too pathological; didn't implement