Re: How to develop a random number generation device



On Fri, 14 Sep 2007 04:13:48 +0100, Nobody wrote:
On Thu, 13 Sep 2007 19:06:18 -0400, krw wrote:

Nothing the OS does can prevent machine code from overrunning a buffer.

Absolute nonsense. Perhaps buffer overruns can't be prevented using
C++, but they *can* be prevented.

Not by the *OS*.

Sure it can. Not in Windows and not with C++, perhaps. An OS can
surely make it impossible to write safe code and a real OS is
required to make safe code possible.

That doesn't address the issue, which was whether the OS can
prevent buffer overruns.

With a hardware MMU, and software that can catch the exception, yes.

Cheers!
Rich

.



Relevant Pages