3 ms·
This is one of the “gotchas” in C, because the standard doesn’t define anything about the stack at all but it is really quite easy to run into issues if you’re
by saagarjha 6y ago
This is one of the “gotchas” in C, because the standard doesn’t define anything about the stack at all but it is really quite easy to run into issues if you’re not careful even with “standards compliant” programs. What’s scarier is that this can happen at any function call, and there is no standard way to detect this issue. (Most compilers do support stack probes, though.)