Re: Dereferencing a null pointer in a module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
On 12/22/05, Hendrik Post <hendrik@xxxxxxxxxxxx> wrote:
>
> 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).
you will get Oops message
>
> Is the behavior architecture specific?
     rather its dependent on condition in your program whether to just
display oops and let kernel do its normal workings or crash kernel at
same state.
>
> 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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux