3 ms·
Check it out: http://lwn.net/Articles/347006/ http://lwn.net/Articles/347006/ These null pointers are sometimes function pointers. Wow. You don't even need to
by scott_s 17y ago
Check it out: http://lwn.net/Articles/347006/ http://lwn.net/Articles/347006/
These null pointers are sometimes function pointers. Wow. You don't even need to muck with the stack and change the return address to get arbitrary code execution.
I admit I'm surprised Linux even lets you mmap 0x0. I suppose most systems won't, since mmap_min_addr will probably be set to a sane address, but it's still a legit vulnerability.