Subject: va 0 mapped - NULL pointer dereference succeeds
To: None <port-mips@netbsd.org, tech-toolchain@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: port-mips
Date: 10/24/2003 19:31:40
Hi -
on a pmax/-current, compiled with gcc3, I'm observing

# pmap
00000000     52K read/exec         /libexec/ld.elf_so
0000D000    252K                     [ anon ]
0004C000      8K read/write          [ anon ]
00400000    208K read/exec         /bin/csh
[...]

And indeed, a small (dynamically linked) test program can read
from NULL, gets the contents of /libexec/ld.elf_so as expected.

This shouldn't happen...

best regards
Matthias