Re: [patch 04/13] param_sysfs_builtin memchr argument fix

From: Chuck Ebbert
Date: Thu Nov 15 2007 - 11:13:26 EST


On 11/15/2007 01:09 AM, Greg KH wrote:
> -stable review patch. If anyone has any objections, please let us know.
>
> ------------------
> From: Dave Young <hidave.darkstar@xxxxxxxxx>
>
> patch faf8c714f4508207a9c81cc94dafc76ed6680b44 in mainline.
>
> If memchr argument is longer than strlen(kp->name), there will be some
> weird result.
>
> It will casuse duplicate filenames in sysfs for the "nousb". kernel
> warning messages are as bellow:
>

Needs an additional fix:

Commit: 22800a2830ec07e7cc5c837999890ac47cc7f5de
fix param_sysfs_builtin name length check
-
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/