On 01/06/07, ninjaboy <n0b0dyn1nj4@xxxxxxxxx> wrote:
hi, why kernel can't handle NULL deref? the common error is: Unable to handle kernel NULL pointer dereference at virtual address 000000XX
How would you propose to handle a NULL pointer dereference? If a pointer is NULL and you dereference it, where would you like to end up? The problem is, you don't know, the pointer doesn't point to anything... A NULL deref is a bug, should never happen - when it does happen it's because either the programmer messed up and did something bad or there was some memory corruption that corrupted a pointer from some other part of the code - in either case you are screwed, there's no sane way to handle the situation. -- Jesper Juhl <jesper.juhl@xxxxxxxxx> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ