News for hackers. Stuff that matters.
Re:strcpy: A niche function you don't need by pcwalton on Friday July 30, 2021 @11:55PM (#28015143)
In most contexts aborting on malloc failure is OK, and preferable to trying to handle it gracefully, which has caused lots of problems, including security problems. On Linux you need to be running in a non-default configuration for malloc to be fallible in the first place (other than in trivial circumstances like attempting to request exabytes of memory in a single call).
Re:strcpy: A niche function you don't need by cperciva on Saturday July 31, 2021 @12:10AM (#28015219)
Yeah, that's one of the things I don't like about Linux.