Dereferencing a NULL pointer is not a good experience. Your kernel will oops and most of times hangs. Check the pointer for NULL before using it.. :P :) sp0nge -- cat ~/.signature ________________________________ Da: kernelnewbies-bounce@xxxxxxxxxxxx per conto di Hendrik Post Inviato: gio 22/12/2005 12.43 A: kernelnewbies@xxxxxxxxxxxx Oggetto: Dereferencing a null pointer in a module Hi, Maybe this is a trivial question, but I was wondering what happens if a NULL-pointer is dereferenced in kernel mode (e.g. in a module). Is the behavior architecture specific? Any hints would be appreciated! Cheers, Hendrik -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/