[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081213181653.GD6953@kroah.com>
Date: Sat, 13 Dec 2008 10:16:53 -0800
From: Greg KH <greg@...ah.com>
To: tom.leiming@...il.com
Cc: kay.sievers@...y.org, linux-kernel@...r.kernel.org
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@...il.com wrote:
> From: Ming Lei <tom.leiming@...il.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
--
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