[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=kQGo03u1FoWt_2MF_CocwrBxmVnLSC5u67Vr7@mail.gmail.com>
Date: Thu, 14 Oct 2010 18:40:58 +0200
From: Metuki Sabhe <sabhe.metuki@...il.com>
To: linux-kernel@...r.kernel.org
Subject: BUG_ON or Oops NULL deref ?
I realize this may start a flamewar, but I would like to have your inputs here:
Do we BUG_ON on NULL pointers before dereferencing them, or even more
idiotically, explicitly check the pointers and return an error if they
are invalid, or, can we sanely assume a NULL deref would Oops.
Yes, we had exploits, but can't we trust mmap_min_addr now ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists