Hacker News new | ask | show | jobs
by pjmlp 1420 days ago
Oh well...
2 comments

At least it is still optional to allow for stack allocated VLAs. Which is the attack vector you mentioned.
Tell me, what’s wrong with variably modified types specifically?
Sizeof, which used to be one of the very few things you could blindly do to an arbitrary (potentially UB-provoking) expression, can now have side effects.