Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
barrkel
on March 31, 2010
|
parent
|
context
|
favorite
| on:
Dereferencing a NULL pointer always segfaults, rig...
Are you thinking of DOS? I can't imagine a Win32 compiler doing this.
spudlyo
on March 31, 2010
[–]
Heh, in DOS a far NULL pointer was the start of the interrupt vector table -- divide by zero being first. I remember writing a program that wrote the address of one of my subroutines to a far NULL pointer and then dividing by zero.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: