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

Look at the man page for alloca(). Stack-allocated strings are more dangerous in the face of overflow than heap-allocated strings.


Well I did not mean that the strings are literally on the call stack. You can make your own stack (and it doesn't have to be a stack, just have the same semantics).




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

Search: