Re:Serious Chrome zero-day
by pcwalton on Wednesday March 06, 2019 @11:41PM
(#19325545)
Yes, there has to be some unsafe glue code somewhere. So what? You write it once and wrap it in a safe interface (there are at least three relevant options in the crate ecosystem that I mentioned). That way, programmers who hack on FileBuffer don't have to worry about introducing zero-days like this.
This is not feasible in C++, because the language isn't safe to begin with.
This is not feasible in C++, because the language isn't safe to begin with.