Skip to content
Commit 8342e124 authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Michael Roth
Browse files

scsi: mptconfig: fix misuse of MPTSAS_CONFIG_PACK



These issues cause respectively a QEMU crash and a leak of 2 bytes of
stack.  They were discovered by VictorV of 360 Marvel Team.

Reported-by: default avatarTom Victor <i-tangtianwen@360.cm>
Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 65a8e1f6)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 0b6ab253
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment