|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Off-by-one in cpu_gdt_init
Rusty Russell wrote: On Mon, 2005-06-06 at 17:14 +0100, David Hopwood wrote:George Washington Dunlap III wrote: If a NULL return is in fact guaranteed to cause an oops (which depends on how and when the pointer is used), possibly. But even then I prefer an error message that explicitly says what has failed. You're in deep trouble already. Well, I'm used to embedded systems without memory protection where a NULL pointer dereference or stack overflow generally does not cause an oops. But I think it's bad practice to rely on oopses rather than explicit checking, even on systems that guarantee an oops will occur. -- David Hopwood <david.nospam.hopwood@xxxxxxxxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |