Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On Linux you can turn this off. On some OS's it's off by default. Especially in embedded which is a major area of native coding. If you don't want to handle allocation failures in your app you can abort.

Also malloc can fail even with overcommit, if you accidentally enter an obviously incorrect size like -1.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: