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).
[ Parent
| on HN ]