Re: [PATCH v2] hid-appleir: Fix kernel panic due to null pointer

2014-07-01 Thread Nick Krause
So I am wondering them should I can it to sizeof(appleir_keymap)? Nick On Tue, Jul 1, 2014 at 2:55 AM, Jiri Kosina wrote: > On Tue, 1 Jul 2014, Mateusz Guzik wrote: > >> > > Fixes a null pointer in appleir_input_configured due to reading >> > > into wrong size array. Changed the variable to input

Re: [PATCH v2] hid-appleir: Fix kernel panic due to null pointer

2014-06-30 Thread Jiri Kosina
On Tue, 1 Jul 2014, Mateusz Guzik wrote: > > > Fixes a null pointer in appleir_input_configured due to reading > > > into wrong size array. Changed the variable to input_dev->keycodemax. > > > > This is a stale changelog from the previous buggy version. > > > > > Signed-off-by: Nicholas Krause

Re: [PATCH v2] hid-appleir: Fix kernel panic due to null pointer

2014-06-30 Thread Mateusz Guzik
On Tue, Jul 01, 2014 at 08:39:06AM +0200, Jiri Kosina wrote: > On Mon, 30 Jun 2014, Nicholas Krause wrote: > > > Fixes a null pointer in appleir_input_configured due to reading > > into wrong size array. Changed the variable to input_dev->keycodemax. > > This is a stale changelog from the previou

Re: [PATCH v2] hid-appleir: Fix kernel panic due to null pointer

2014-06-30 Thread Jiri Kosina
On Mon, 30 Jun 2014, Nicholas Krause wrote: > Fixes a null pointer in appleir_input_configured due to reading > into wrong size array. Changed the variable to input_dev->keycodemax. This is a stale changelog from the previous buggy version. > Signed-off-by: Nicholas Krause > --- > drivers/hid/

[PATCH v2] hid-appleir: Fix kernel panic due to null pointer

2014-06-30 Thread Nicholas Krause
Fixes a null pointer in appleir_input_configured due to reading into wrong size array. Changed the variable to input_dev->keycodemax. Signed-off-by: Nicholas Krause --- drivers/hid/hid-appleir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-appleir.c b/drive