Re: Dereferenced null pointer

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

 



--- Preetham D Naik <pdn@sasken.com> wrote:
> SO HOW CAN NULL PTR DEREFERENCING HAPPEN IN SUCH AN
> OS...ARE THE POINTERS
> NOT CHECKED FOR NULL!!!

  All pointers are checked for validity within the
process's address space, not just NULL. It is the
attempt to dereference the NULL pointer that throws
off the oops/segfaults rather than the dereferencing.

PS: All caps messages are not fine. "Don't TYPE IN ALL
CAPS, this is read as shouting and considered rude" to
quote ESR.
http://www.catb.org/~esr/faqs/smart-questions.html

=====
Regards,
Kiran Kumar Immidi

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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