]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:20:46 +0000 (11:20 -0400)
commitfcd3023216796cf11036c4e9bf16cdca5de7da68
tree75c777b2e107cceaee6709031d1166474214de7c
parentfe2a00ca2f8f0a37cba64eaaab342538d277b6d0
xen: off by one errors in multicalls.c

commit f124c6ae59e193705c9ddac57684d50006d710e6 upstream.

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.

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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/xen/multicalls.c