News for hackers. Stuff that matters.
Re:Some obscure C features by hedora on Thursday January 25, 2018 @10:55PM (#16236934)
Wait. If I use non-tail recursion on a micro controller, then I’ve probably implemented a stack out of memory crash, which, for embedded devices, is actually worse than a buffer overflow on unsanitized input.

Is this a joke, or do they do some sort of stack-bounding static analysis?

Re:Some obscure C features by sedachv on Friday January 26, 2018 @04:22AM (#16237910)
What are you talking about? Running out of stack has nothing to do with what you use for code generation/preprocessing. I also don't see why running out of stack would ever be worse than a buffer overflow. The former is at least going to be fail-fast.