Messages in this thread | | | Subject | Re: [oops] lib/vsprintf.c | From | Bernd Petrovitsch <> | Date | Tue, 02 Nov 2004 19:46:16 +0100 |
| |
On Tue, 2004-11-02 at 19:34 +0100, Paweł Sikora wrote: > On Tuesday 02 of November 2004 08:03, you wrote: > > >static int km_init_module(void) > > >{ > > > printk(KERN_DEBUG "%s init\n", 1.4); > > > return 0; > > >} > > > > You do know that %s does not mix with 1.4? > > Yes, I known. I did it intentionally.
"Doctor, it hurts when I do that." "Then do not do it."
> IMHO kernel should be more resistant to accidental programmers errors.
What for? Simply fix them immediately.
> Be secure, trust no one ;)
ACK. Therefore the kernel oopses, rendering the machine useless for the moment and forces the programmer to look for the bug.
> ... and catch bugs with http://netlab.ru.is/exception/KernelExceptions.pdf
What should happen afterwards? Write a line to syslog which is probably ignored anyway?
Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |