News for hackers. Stuff that matters.
Re:Goodbye C++, Hello C by kaba0 on Saturday June 26, 2021 @11:20AM (#27642630)
> That way no matter how badly my program misbehaves, it will not be able to access memory outside of the sandbox

The problem is not about memory outside of the sandbox, but inside. Please read about return-oriented programming, for example, where a buffer overflow bug of a process can be exploited to hijack said process to do work it was not meant to do normally. If this error happened for example in sudo, it can very well be used to gain privileges and do real harm — and this whole problem domain is almost entirely solved by using a “safe” language.

There are no comments on this comment yet.