Mail Archives: djgpp/1997/03/09/11:55:35
On 9 Mar 1997, Paul Derbyshire wrote:
> As for a ring 3 program being unable to currupt the kernel, I'm not sure
> this is entirely correct. I discovered that a DOS program running in a DOS
> box under Win 95 (and DOS boxes presumably run in ring 3) can crash the
> machine with a bad memory write.
It's harder, but if you really want it, you can do it. Windows 95 is not
protected enough (presumably, because it still wants to let you run
legacy DOS code which played some notoriously nasty tricks). Even DJGPP
has enough potential to let you overwrite the entire memory with a bad
pointer, especially when you are using `nearptr' or `_dos_ds'.
- Raw text -