|
|
|
|
|
by ericpruitt
1436 days ago
|
|
Since when do heap allocation failures on Linux result in an abort? In C, malloc(3) will return NULL on failure and set errno accordingly. Sure, if overcommit is enabled, you might get a fault if you try to access memory that was allegedly allocated, but there is no strict "malloc failure === fatal error" relationship. |
|
> if overcommit is enabled
This is the case on ~all systems.