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

You simply cannot know that and your assertion reveals a lack of understanding. Computation may continue indefinitely, unintentionally distributing your private keys or doing some other heinous thing forever, without any sort of MMU trap. Undefined means undefined, not 'segfault.'


I said "in reality". Can you give me an (realistic) example where using a nullptr doesn't result in a segfault?




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

Search: