Re: [PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Peter Hutterer
On Thu, Apr 10, 2014 at 08:17:37AM +0200, Jonas Ådahl wrote: > On Thu, Apr 10, 2014 at 03:43:25PM +1000, Peter Hutterer wrote: > > On Wed, Apr 09, 2014 at 09:02:08PM +0200, Jonas Ådahl wrote: > > > Don't have a hard coded (previously 16) slot array size; instead > > > allocate dynamically depending

Re: [PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Jonas Ådahl
On Thu, Apr 10, 2014 at 03:43:25PM +1000, Peter Hutterer wrote: > On Wed, Apr 09, 2014 at 09:02:08PM +0200, Jonas Ådahl wrote: > > Don't have a hard coded (previously 16) slot array size; instead > > allocate dynamically depending what slots are assigned. There is still a > > hard coded max though,

Re: [PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Peter Hutterer
On Wed, Apr 09, 2014 at 09:02:08PM +0200, Jonas Ådahl wrote: > Don't have a hard coded (previously 16) slot array size; instead > allocate dynamically depending what slots are assigned. There is still a > hard coded max though, to protect from invalid input, but its changed > to 60. > > Signed-off

Re: [PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Peter Hutterer
On Wed, Apr 09, 2014 at 08:33:34PM +0100, Daniel Stone wrote: > Hi, > > On 9 April 2014 20:02, Jonas Ådahl wrote: > > > Don't have a hard coded (previously 16) slot array size; instead > > allocate dynamically depending what slots are assigned. There is still a > > hard coded max though, to prot

Re: [PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Jonas Ådahl
On Wed, Apr 09, 2014 at 10:12:11PM +0200, Hardening wrote: > Le 09/04/2014 21:02, Jonas Ådahl a écrit : > >Don't have a hard coded (previously 16) slot array size; instead > >allocate dynamically depending what slots are assigned. There is still a > >hard coded max though, to protect from invalid i

Re: [PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Hardening
Le 09/04/2014 21:02, Jonas Ådahl a écrit : Don't have a hard coded (previously 16) slot array size; instead allocate dynamically depending what slots are assigned. There is still a hard coded max though, to protect from invalid input, but its changed to 60. Signed-off-by: Jonas Ådahl --- src/

Re: [PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Daniel Stone
Hi, On 9 April 2014 20:02, Jonas Ådahl wrote: > Don't have a hard coded (previously 16) slot array size; instead > allocate dynamically depending what slots are assigned. There is still a > hard coded max though, to protect from invalid input, but its changed > to 60. > Won't this break xf86-in

[PATCH libinput 1/9] evdev: Dynamically allocate slot array

2014-04-09 Thread Jonas Ådahl
Don't have a hard coded (previously 16) slot array size; instead allocate dynamically depending what slots are assigned. There is still a hard coded max though, to protect from invalid input, but its changed to 60. Signed-off-by: Jonas Ådahl --- src/evdev.c | 82 +