3 ms·
If your architecture does not support this then you’re at risk whenever you make a function call.
by saagarjha 4y ago
If your architecture does not support this then you’re at risk whenever you make a function call.
- rhexs 4y agoBackpedal harder!
- saagarjha 4y agoI’m not backpedaling. If your environment has guard pages and does probing then it protects equally well against VLAs and function calls overflowing the stack. If it has neither then both are liable to overwrite other memory. Obviously I would prefer that you have the protections, or some sort of equivalent, but they have nothing to do with VLAs.