diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2017-04-24 17:36:34 +0530 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-05-05 12:09:59 +0200 |
commit | 24dfa9fa2f90a95ac33c7372de4f4f2c8a2c141f (patch) | |
tree | ddaa9601b9d0dc8f87f9d751da403d447e80c9e5 /pc-bios/sgabios.bin | |
parent | aab9e87e7a5d280bfbffaa4ea6e296c515c8dac2 (diff) |
scsi: avoid an off-by-one error in megasas_mmio_write
While reading magic sequence(MFI_SEQ) in megasas_mmio_write,
an off-by-one error could occur as 's->adp_reset' index is not
reset after reading the last sequence.
Reported-by: YY Z <bigbird475958471@gmail.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <20170424120634.12268-1-ppandit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'pc-bios/sgabios.bin')
0 files changed, 0 insertions, 0 deletions