News for hackers. Stuff that matters.
Re:Getting Past C by dbaupp on Tuesday January 03, 2017 @09:47PM (#13315274)
I'm not even talking about variably sized arrays, just creating a statically sized one and passing it into functions that take dynamically-sized one. For instance, a read function that fills an existing buffer doesn't care if the buffer is on the heap or on the stack, it only cares that it doesn't overrun the bounds.

alloca-style variable arrays is a whole other can of worms of danger and complexity.

There are no comments on this comment yet.