News for hackers. Stuff that matters.
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by Taikonerd on Tuesday September 24, 2024 @10:46AM (#41637060)
> knowing how to deal with wacky input and corner cases are a requirement of learning ANY programming language.

In general, I agree. But if there's a corner case that occasionally breaks naive code but otherwise doesn't do anything, then I'm going to think, "maybe we should just remove that corner case."

Re:OpenBSD now enforcing no invalid NUL characters in shell ... by zokier on Tuesday September 24, 2024 @11:55AM (#41637927)
David Wheeler has been complaining (and suggesting fixes) about this for a long time: https://dwheeler.com/essays/fixing-unix-linux-filenames.html

safename LSM https://lwn.net/Articles/686789/

Re:OpenBSD now enforcing no invalid NUL characters in shell ... by Taikonerd on Tuesday September 24, 2024 @01:44PM (#41639059)
Thank you, I had wondered if there was something like safename.
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by bell-cot on Tuesday September 24, 2024 @11:00AM (#41637247)
Replace "maybe" with "OBVIOUSLY". Keeping useless-but-hazardous "features" in any language is as idiotic as keeping a heap of oily rags in the furniture factory warehouse.