HNHacker News
TopNewBestAskShowJobs

scvalex1

42 karma · joined July 1, 2012

submissionscomments
scvalex1··on If malloc fails, it's not for the obvious reason
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).