commit | 4d47555a80495657161a7e71ec3014ff2021e450 | [log] [tgz] |
---|---|---|
author | Carsten Otte <cotte@de.ibm.com> | Tue Oct 18 12:27:12 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 30 12:20:55 2011 +0200 |
tree | f5e12258ee93dc20c230e7dc60620c6d0194142e | |
parent | a3e06bbe8445f57eb949e6474c5a9b30f24d2057 [diff] |
KVM: s390: check cpu_id prior to using it We use the cpu id provided by userspace as array index here. Thus we clearly need to check it first. Ooops. CC: <stable@vger.kernel.org> 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>