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

I'd say it's a good example why more static checks like lifetimes are useful.

With them, you can at least tell apart data structures that are fleeting and can disappear when a cable is ejected, and those which should stay put. This likely might help avoid another double-free or another freed pointer dereference.







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

Search: