xen: off by one errors in multicalls.c
commitab0cc25a4b0367227df10f18c98db96af2db1dc0
authorDan Carpenter <error27@gmail.com>
Fri, 3 Jun 2011 04:45:28 +0000 (3 07:45 +0300)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:55 +0000 (1 13:54 -0700)
treed21c8aa160378b9757e6edcaba930667cef49842
parentff7cb9c3fe433028969fe28b5a542a0477b252b3
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: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/x86/xen/multicalls.c