commit | d69540f85872860468e85ef8004f5580652b3335 | [log] [tgz] |
---|---|---|
author | Carsten Otte <cotte@de.ibm.com> | Tue Oct 18 12:27:12 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Nov 11 09:36:08 2011 -0800 |
tree | 7a7e66ade9a5be5c3a3aa12376a05a12af9e3012 | |
parent | 54a8a620cee91954666080a5525d7f43cad0a693 [diff] |
KVM: s390: check cpu_id prior to using it commit 4d47555a80495657161a7e71ec3014ff2021e450 upstream. We use the cpu id provided by userspace as array index here. Thus we clearly need to check it first. Ooops. Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>