News for hackers. Stuff that matters.
Re:Vulnerable industrial controls directly connected to Inte... by cesarb on Monday January 29, 2018 @04:55PM (#16260976)
> You can't overflow a vector. It's not a fixed size array. It grows automatically as needed.

His example shows the precise opposite: the vector didn't grow automatically. Instead, memory outside the vector bounds was accessed, i.e., the vector overflowed.

Yes, idiomatic modern C++ makes that less likely, by reducing the use of explicit indexes. Even then, you still can overflow a vector with innocent-looking code.

There are no comments on this comment yet.