Mail Archives: djgpp/1999/02/08/20:10:14
Eli Zaretskii wrote:
>
> On Sat, 6 Feb 1999, Paul Derbyshire wrote:
>
> > >Under DOS, Unix that program is crashed, BUT
> > >under Windows that program won't crash.
> > >What is it ? Is that bug ?
> >
> > Yep. It is. It's been known about for quite some time. Unfortunately, Bill
> > Gates seems disinclined to take a few minutes to fix it even while he's
> > giving away 4 billion dollars to various charitable organizations.
> > :-)
>
> Somebody whose opinions I trust told me that if Windows included null
> page protection, gobs of Windows own code would immediately begin
> crashing. So there might be some reason why MS doesn't fix that.
But, if I understand correctly, the only thing they need to supply is
the DPMI Set Page Attributes call (or something of the sort). It's up
to the process to actually call it to unmap the null page, and so the
kernel wouldn't have to.
But who ever said Microsoft thought rationally?
> (In case you didn't know: when Windows starts up, its kernel loads into
> the system VM as a DPMI client. Imagine what would happen with null page
> protection...)
I'm half terrified and half amused, but not at all surprised. :-o
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -