Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Tom Victor <i-tangtianwen@360.cm> Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 65a8e1f) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information