xen: off by one errors in multicalls.c
commitd11e39e4c718f9b003bc7afb5540b590f4a40215
authorDan Carpenter <error27@gmail.com>
Fri, 3 Jun 2011 04:45:28 +0000 (3 07:45 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:24:07 +0000 (23 15:24 -0700)
tree946ea64b9403d33fc6dcca0fbf82138d72aee277
parent75013df1c9bed793a9edc3ab6d9415a5b5e02cdc
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>
arch/x86/xen/multicalls.c