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

Re: NULL dereference ? why not ?



On 1/3/07, James Stevenson <james@xxxxxxxx> wrote:
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.

allowing physical memory access to address 0 and virtual memory access to address 0 is different

while i can see a valid use for allowing physical memory access to
address 0 (but only in an embedded system), i cannot think of one good
reason to allow access to virtual address 0 in light of all the debug
catching
-mike

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/