News for hackers. Stuff that matters.
Re:This shouldn't have happened: A vulnerability postmortem by jerf on Wednesday December 01, 2021 @03:10PM (#29408551)
Go would stop this from being exploitable. You might be able to make a slice larger than it is "supposed" to be, but it won't overwrite anything else because Go will be allocating new memory for your bigger slice.

But this is hardly a big claim for Go. The reality is that of all current languages in use, only C and C++ will let this mistake happen and have the consequence of overwriting whatever happens to be in the way. Everything else is too memory safe for this to happen.

There are no comments on this comment yet.