Hacker News new | past | comments | ask | show | jobs | submit login

An abort()/__builtin_trap/etc shouldn't generally be manipulable.



The failure mode is the one where you terminate in the middle of an operation that was expected to be atomic or ordered and then the program restarts and does step two without finishing step one.


You have to protect against that anyway, otherwise you're vulnerable to power cuts.


And operating system crashes, and being killed by the OOM handler (which is probably likely if you're out of heap), and all of the other things that can kill a process without warning.




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

Search: