Re: How to develop a random number generation device



In article <pan.2007.09.15.03.54.51.63000@xxxxxxxxxxx>,
nobody@xxxxxxxxxxx says...
On Fri, 14 Sep 2007 22:27:47 -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.

Of course it does.

Please explain how "An OS can surely make it impossible to write safe
code and a real OS is required to make safe code possible" addresses the
question of whether the OS can prevent buffer overruns.

The OS is necessary, but insufficient, part of the solution. The API
is certainly part of the solution. Compilers too. Saying that the
"OS can't" do something is letting it completely off the hook.
Windows, or more accurately M$, *is* the problem.

--
Keith
.



Relevant Pages