[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: NULL dereference ? why not ?
Yes it can be valid. However there may be purpose to have data there and
accessibly but because it's a virtual address it may not have any data
mapped to it thus it is invalid.
> -----Original Message-----
> From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-
> bounce@xxxxxxxxxxxx] On Behalf Of Ramagudi Naziir
> Sent: 03 January 2007 10:22
> To: kernelnewbies
> Subject: NULL dereference ? why not ?
>
> Hello.
>
> I want to ask why NULL dereference is never valid.
> Why isn't it possible that an application will have some data at
> virtual address zero ?
> is it platform-specific issue or is it by-design in linux ?
>
> Thank You
> naziir
>
> --
> 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/