lkml.org 
[lkml]   [2008]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-12-13 19:25    [W:0.484 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site