]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:28:40 +0000 (15:28 -0700)
commita5815ca6823ec525df5669843bcec04fead80671
treef4f0ee5110f1b78b900d0998b4b58ce5c5239613
parentea41e016bb84023920e2395888ce04b970c5b17a
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