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

You're no less protected than you are when you call a function. Nothing ensures that a function can safely be called.

uint8_t is effective protection, given the normal assumption of a stack with 4096 to 16384 bytes of space and a call stack that isn't insane.

If you wish to make a formal proof of correctness, feel free to make worst-case assumptions.




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

Search: