3 ms·
Look at the man page for alloca(). Stack-allocated strings are more dangerous in the face of overflow than heap-allocated strings.
by nitrogen 13y ago
Look at the man page for alloca(). Stack-allocated strings are more dangerous in the face of overflow than heap-allocated strings.
- jhallenworld 13y agoWell 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).