Messages in this thread | | | Date | Sat, 13 Dec 2008 10:16:53 -0800 | From | Greg KH <> | Subject | Re: [PATCH] driver core: don't pass cls->name as format string in sysdev_class_register() |
| |
On Sat, Dec 13, 2008 at 06:34:00PM +0800, tom.leiming@gmail.com wrote: > From: Ming Lei <tom.leiming@gmail.com> > > If cls->name contains substring which can be interpreted as > format,maybe it causes oops, so fix it.
Why not fix the code that would set cls->name to such a wrong field? I don't see any in-kernel code that does this, do you?
thanks,
greg k-h
| |