commit | 2dccb4cdbf8fd4cb1d779a6f7ddd66d193bb5805 | [log] [tgz] |
---|---|---|
author | Petr Matousek <pmatouse@redhat.com> | Wed Mar 11 12:16:09 2015 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 30 16:40:07 2015 +0200 |
tree | fa2ca1d0b2df5ac8e31a1bc1c47be2673cce15eb | |
parent | 65844bb0a7861eefa3ce44cd788163ecc4e14f2d [diff] |
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> Message-Id: <20150311111609.GG8544@dhcp-25-225.brq.redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>