Re: How is NULL pointer dereference handled inside kernel?

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

 



> -the kernel does NOT handle null pointer derefernce,
>  the compiler does!
i dont think this is correct. what happens is that virtual addresses
need to be mapped to some physical address (via the mmu). if the
address being dreferenced is bogus, kernel oopses or a userland
program causes a segmentation fault.

kind regards
anupam
-- 
if you need gmail invites, let me know !

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