News for hackers. Stuff that matters.

scvalex1

Re:If malloc fails, it's not for the obvious reason on Friday November 02, 2012 @10:15PM (#4735683)
Everything's ok until you try to write to more memory than is available. At that point, either your program segfaults, or Linux's Out-Of-Memory (OOM) Killer is invoked and kills a random process (not necessarily the offending process).