Messages in this thread |  | | Date | Mon, 15 Oct 2001 02:56:27 -0400 | From | David Ford <> | Subject | Re: |
| |
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/ >
- 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/
|  |