diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2013-09-03 18:08:50 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-20 12:37:52 +0200 |
commit | 18e5eec4db96a00907eb588a2b803401637c7f67 (patch) | |
tree | 07c96ef86554da3b74edadad64acac01876ffce8 /hw/sd/pxa2xx_mmci.c | |
parent | 76fe21dedafb0319306bc993f23e7646b139cfe4 (diff) |
kvmvapic: Catch invalid ROM size
If not caught early, a zero-length ROM will cause a NULL-pointer access
later on in patch_hypercalls when allocating a zero-length ROM copy and
trying to read from it.
CC: qemu-stable@nongnu.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/sd/pxa2xx_mmci.c')
0 files changed, 0 insertions, 0 deletions