Re: [PATCH] Input: wacom_w8001 - Ignore bogus idx values in interrupt

2016-05-23 Thread Ping Cheng
On Mon, May 23, 2016 at 9:52 AM, Dmitry Torokhov wrote: > On Sun, May 22, 2016 at 10:21:45PM -0700, Ping Cheng wrote: >> Hi Chris, >> >> On Sun, May 22, 2016 at 6:42 PM, Chris J Arges >> wrote: >> > I've noticed crashes when using my x60t using a coreboot bios. When using >> > the pen I can produ

Re: [PATCH] Input: wacom_w8001 - Ignore bogus idx values in interrupt

2016-05-23 Thread Dmitry Torokhov
On Sun, May 22, 2016 at 10:21:45PM -0700, Ping Cheng wrote: > Hi Chris, > > On Sun, May 22, 2016 at 6:42 PM, Chris J Arges > wrote: > > I've noticed crashes when using my x60t using a coreboot bios. When using > > the pen I can produce a crash simply by tapping a few times. This > > generates an

Re: [PATCH] Input: wacom_w8001 - Ignore bogus idx values in interrupt

2016-05-22 Thread Ping Cheng
Hi Chris, On Sun, May 22, 2016 at 6:42 PM, Chris J Arges wrote: > I've noticed crashes when using my x60t using a coreboot bios. When using > the pen I can produce a crash simply by tapping a few times. This > generates an event which has an idx of 0xc. This in turn crashes the > machine because

[PATCH] Input: wacom_w8001 - Ignore bogus idx values in interrupt

2016-05-22 Thread Chris J Arges
I've noticed crashes when using my x60t using a coreboot bios. When using the pen I can produce a crash simply by tapping a few times. This generates an event which has an idx of 0xc. This in turn crashes the machine because the array access is greater than W8001_MAX_LENGTH. This patch checks for b