scvalex1's comments

scvalex1 | 13 years ago | 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).
page 1