Re: [oops] lib/vsprintf.c

From: Randy.Dunlap
Date: Tue Nov 02 2004 - 14:18:47 EST


Jan Engelhardt wrote:
You do know that %s does not mix with 1.4?

Yes, I known. I did it intentionally.

And you intentionally ignored the gcc warning...
it's all yours.
I.e., a normal user couldn't load the kernel module.

IMHO kernel should be more resistant to accidental programmers errors.
Be secure, trust no one ;)


Well usually it should be. include/linux/kernel.h has the __attribute__(printf)
stuff for the print[fk]* family.


--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/