Re: How to develop a random number generation device
- From: Rich Grise <rich@xxxxxxxxxxx>
- Date: Sat, 15 Sep 2007 17:06:31 GMT
On Sat, 15 Sep 2007 04:43:40 +0100, Nobody wrote:
On Fri, 14 Sep 2007 17:33:28 +0000, Rich Grise wrote:
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.
That still doesn't address the question of how you decide that a write
operation has overrun its buffer; the details of where one buffer starts
and another ends are unknown to the OS.
But it knows what chunks of memory it has allocated to a particular
process. As long as it's in your own memory space, who cares if you
overwrite/overrun your own buffers?
You might be able to catch specific cases (e.g. overwriting a return
address), if you're willing to take a massive performance hit (i.e. a
context switch on all writes to the stack). Even then, that isn't the only
type of buffer overrun which can be exploited.
That's that sort of catchall "software that can catch the exception" part
of my answer. :-)
Cheers!
Rich
.
- Follow-Ups:
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- References:
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: John Devereux
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Devereux
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- From: krw
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- From: krw
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- From: Rich Grise
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- Prev by Date: Re: Does more bits-per-character but less characters-per-second make better use of bandwidth?
- Next by Date: Re: How to develop a random number generation device
- Previous by thread: Re: How to develop a random number generation device
- Next by thread: Re: How to develop a random number generation device
- Index(es):
Relevant Pages
|