Re: How is NULL pointer dereference handled inside kernel?

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

 



hello ;)

> a basic question. How does the kernel handle NULL pointer
> dereferencing inside kernel space. Supposing I initialise a pointer
> to NULL (i.e 0), and derefernce it then why do I get an oops?
> Is 0 not a valid address? Also I've heard that the value of NULL can
> change from processor to processor (I think on PowerPC 0 is a valid
> address).

check the archives of this mailing list, there have been a rather lengthy 
discussion on this point.


-- 
========================================================================
nir.

--
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