[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] use unsigned type for MegasasState fields
From: |
P J P |
Subject: |
[PATCH 0/2] use unsigned type for MegasasState fields |
Date: |
Thu, 7 May 2020 16:27:16 +0530 |
From: Prasad J Pandit <address@hidden>
Hello,
* This series fixes an OOB access issue which may occur when a guest user
sets 's->reply_queue_head' field to a negative(or large positive) value,
via 'struct mfi_init_qinfo' object in megasas_init_firmware().
* Second patch updates other numeric fields of MegasasState to unsigned type.
Thank you.
---
Prasad J Pandit (2):
megasas: use unsigned type for reply_queue_head
megasas: use unsigned type for positive numeric fields
hw/scsi/megasas.c | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
--
2.25.4
- [PATCH 0/2] use unsigned type for MegasasState fields,
P J P <=