Re: [patch] applicom: use correct array offset

2013-03-01 Thread Arnd Bergmann
On Friday 01 March 2013, Dan Carpenter wrote: > We're iterating through abps[] printing information, but here we > use the wrong array index. IndexCard comes from the user and in > this case it was specifically not range checked because we didn't > expect to use it. > > Signed-off-by: Dan

[patch] applicom: use correct array offset

2013-03-01 Thread Dan Carpenter
We're iterating through abps[] printing information, but here we use the wrong array index. IndexCard comes from the user and in this case it was specifically not range checked because we didn't expect to use it. Signed-off-by: Dan Carpenter diff --git a/drivers/char/applicom.c

[patch] applicom: use correct array offset

2013-03-01 Thread Dan Carpenter
We're iterating through abps[] printing information, but here we use the wrong array index. IndexCard comes from the user and in this case it was specifically not range checked because we didn't expect to use it. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [patch] applicom: use correct array offset

2013-03-01 Thread Arnd Bergmann
On Friday 01 March 2013, Dan Carpenter wrote: We're iterating through abps[] printing information, but here we use the wrong array index. IndexCard comes from the user and in this case it was specifically not range checked because we didn't expect to use it. Signed-off-by: Dan Carpenter