Re: NULL pointer dereference in sysfs_readdir

From: Dave Jones
Date: Sun Oct 22 2006 - 14:13:19 EST


On Sun, Oct 22, 2006 at 11:08:58AM +0200, Stefan Richter wrote:

> What if "next" became NULL afterwards? I know it's unlikely (but so is
> the whole bug, given that we have just one reporter despite the bug's
> age), but is it impossible? IOW does sysfs_readdir have any indirect
> mutex protection?
>
> Dave, do you patch sysfs datatypes in FC's kernel, or types they include?

Not that I recall. <linux/sysfs.h> is untouched in the trees I just
looked at (only have .18 ones handy right now)

Dave

--
http://www.codemonkey.org.uk
-
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/