]> err.no Git - linux-2.6/commit
[PATCH] drivers/char/tipar.c: off by one array access
authorLuc Van Oostenryck <lkml@looxix.net>
Wed, 29 Jun 2005 03:44:44 +0000 (20:44 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 29 Jun 2005 04:20:29 +0000 (21:20 -0700)
commit45ae36cbce9c7f55615e2b5f8faf23c7a06d0bd2
tree8d8a6a7e7cb0bb5d991e9dad1fc602528db63c76
parent47f176fdaf8924bc83fddcf9658f2fd3ef60d573
[PATCH] drivers/char/tipar.c: off by one array access

In the setup function, the delay variable is initialized with ints[2],
but ints is declared as:
int ints[2];

Since the module parameter should correspond to:
tipar=timeout,delay

I suppose that the following patch fix the problem.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tipar.c