Re:

David Ford
2001-10-15T07:18:35Z

That should throw a segmentation fault, in the kernel an OOPS, in this
statement the code is trying to dereference a NULL pointer and store a
value at 0x0.

David

Dinesh Gandhewar wrote:

>Hello,
>What is the effect of following statement at the end of function definition?
>*(int *)0 = 0;
>Thanking you,
>Dinesh
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>