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

What about lack of bounds checking leaving the door open to security exploits, in the days where CVEs caused by C's use increase every month?!?

Hence why they were dropped in C11. Being an optional annex means that actually most C vendors won't bother.



Why is that different from heap allocations? They don't have automatic bounds checking either.


Malloc does not corrupt the heap if it cannot accommodate the requested block size.




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

Search: