[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200409105253.qvezbikpbnrkig52@pengutronix.de>
Date: Thu, 9 Apr 2020 12:52:53 +0200
From: Marco Felsch <m.felsch@...gutronix.de>
To: Oliver Graute <oliver.graute@...il.com>
Cc: dmitry.torokhov@...il.com,
Oliver Graute <oliver.graute@...oconnector.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sasha Levin <sashal@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] Input: edt-ft5x06 - fix crash on EDT EP0110M09
Hi Oliver,
thanks for your patch.
On 20-04-09 11:27, Oliver Graute wrote:
> From: Oliver Graute <oliver.graute@...oconnector.com>
...
> drivers/input/touchscreen/edt-ft5x06.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
> index 06aa8ba0b6d7..6fbc87d041a1 100644
> --- a/drivers/input/touchscreen/edt-ft5x06.c
> +++ b/drivers/input/touchscreen/edt-ft5x06.c
> @@ -819,10 +819,6 @@ static int edt_ft5x06_ts_identify(struct i2c_client *client,
> * to have garbage in there
> */
> memset(rdbuf, 0, sizeof(rdbuf));
> - error = edt_ft5x06_ts_readwrite(client, 1, "\xBB",
> - EDT_NAME_LEN - 1, rdbuf);
> - if (error)
> - return error;
I don't see how this call can corrupt the stack..
Regards,
Marco
Powered by blists - more mailing lists