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

In a language like C that isn't really possible because the language can't keep track of all of the places that memory address is stored.

If malloc were to return something like an address that holds the address of memory allocated there is nothing preventing the program from reading that address, doing math on it, and storing it somewhere else.



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

Search: