Re: [PATCH] drivers/staging/speakup: avoid out-of-range access

From: Greg KH
Date: Mon Jan 07 2013 - 12:44:42 EST


On Sat, Jan 05, 2013 at 08:29:44PM +0100, Samuel Thibault wrote:
> Indeed. The same happens in synth_add, so Greg please use this instead:
>
>
> Check that array index is in-bounds before accessing the synths[] array.
>
> Signed-off-by: Nickolai Zeldovich <nickolai@xxxxxxxxxxxxx>
> Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

Wait, Nickolai wrote the first patch, so how could he sign off on your
patch? How about sending me an add-on patch on top of the first one
which adds the additional check? That way I'll apply both of them and
everyone will get the proper credit?

thanks,

greg k-h
--
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/