Re: [PATCH] Input: evdev - fix variable initialisation

From: Dmitry Torokhov
Date: Fri Feb 03 2012 - 03:37:16 EST


On Tue, Jan 31, 2012 at 01:40:42PM -0800, Dima Zavin wrote:
> ugh, thanks for fixing this.
>
> On Tue, Jan 31, 2012 at 1:24 PM, Heiko Stübner <heiko@xxxxxxxxx> wrote:
> > Commit 509f87c5f564 (evdev - do not block waiting for an event if fd
> > is nonblock) created a code path were it was possible to use retval
> > uninitialized.
> >
> > This could lead to the xorg evdev input driver getting corrupt data
> > and refusing to work with log messages like
> >        AUO-Pixcir touchscreen: Read error: Success
> >        sg060_keys: Read error: Success
> >        AUO-Pixcir touchscreen: Read error: Success
> >        sg060_keys: Read error: Success
> > (for drivers auo-pixcir-ts and gpio-keys).
> >
> > Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
>
> Acked-by: Dima Zavin <dima@xxxxxxxxxxx>
>

Applied, thank you.

--
Dmitry
--
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/