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

"Undefined behavior" in C is much more insidious than merely "unspecified" or "unpredictable". All those security holes and exploits resulting from buffer overflows, stack overwrites, heap spraying, etc. are manifestations of UB made possible by a badly written program. (Or by the interaction between an invalid program and an optimistic compiler, as in the case of assuming strict pointer aliasing.)



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

Search: