Re:How security flaws work: the buffer overflow
by cm2187 on Wednesday August 26, 2015 @11:03AM
(#10123335)
A large part of overflows come from querying an array beyond its size. If the size of the array was already contained in the array (think of C# arrays which always have a Length property), developers could build more robust code that wouldn't rely on the size of the array being inferred from some other parts of the code.
You also haven't explained how would that size information, which we already have, magically solve the problem.