]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen: off by one errors in multicalls.c
authorDan Carpenter <error27@gmail.com>
Fri, 3 Jun 2011 04:45:28 +0000 (07:45 +0300)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 3 Jun 2011 20:04:02 +0000 (16:04 -0400)
commitf124c6ae59e193705c9ddac57684d50006d710e6
tree9bd662e1f2ee7c937b1b184f371ef1c603018d02
parente5ac0bda96c495321dbad9b57a4b1a93a5a72e7f
xen: off by one errors in multicalls.c

b->args[] has MC_ARGS elements, so the comparison here should be
">=" instead of ">".  Otherwise we read past the end of the array
one space.

CC: stable@kernel.org
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/multicalls.c