News for hackers. Stuff that matters.
Re:Reading the NSA’s codebase: LemonGraph review by orbifold on Friday August 10, 2018 @11:09AM (#17733960)
Malloc does not fail under Linux unless you are in very peculiar circumstances.
Re:Reading the NSA’s codebase: LemonGraph review by krylon on Friday August 10, 2018 @11:29AM (#17734198)
Not everyone is running Linux.

And anyway, it is dirty - like crossing the street without looking for cars because traffic around here is very mellow, or peeing without washing your hands afterwards.

(That being said, I once helped somebody to write a program whose task it was to deliberately get the host system to the point where malloc(3) failed. It was not as trivial as one might think.)

Re:Reading the NSA’s codebase: LemonGraph review by jcranmer on Friday August 10, 2018 @11:24AM (#17734131)
Malloc will still fail for overly large allocation sizes. If you try to malloc(-1), for example.