diff options
author | Petr Matousek <pmatouse@redhat.com> | 2015-03-11 12:16:09 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2015-03-13 02:02:46 +0100 |
commit | c1a6bff28cbff796bf6e7db5cf42ec9244911be2 (patch) | |
tree | 09dd8804b784217ec2fd387bbe2ecf230c6b837e /arch/s390/math-emu | |
parent | kvm: move advertising of KVM_CAP_IRQFD to common code (diff) | |
download | linux-c1a6bff28cbff796bf6e7db5cf42ec9244911be2.tar.xz linux-c1a6bff28cbff796bf6e7db5cf42ec9244911be2.zip |
kvm: x86: i8259: return initialized data on invalid-size read
If data is read from PIC with invalid access size, the return data stays
uninitialized even though success is returned.
Fix this by always initializing the data.
Signed-off-by: Petr Matousek <pmatouse@redhat.com>
Reported-by: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/s390/math-emu')
0 files changed, 0 insertions, 0 deletions