hw/scsi/scsi-disk: Avoid buffer overrun parsing loadparam (CID 1565746)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/s390x: Declare loadparm as char[LOADPARM_LEN]hw/ hw/ hw/ +4 more | +16 | 3 replies | |
| 2/2 | hw/scsi/scsi-disk: Avoid buffer overrun parsing 'loadparam'hw/ | +3 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] hw/scsi/scsi-disk: Avoid buffer overrun parsing loadparam (CID 1565746)
Replace magic 8 by proper LOADPARM_LEN definition, use array of char, allocate loadparam[] within qdev state, fixing Coverity overrun report (CID 1565746).
Philippe Mathieu-Daudé (2):
hw/s390x: Declare loadparm as char[LOADPARM_LEN] hw/scsi/scsi-disk: Avoid buffer overrun parsing 'loadparam'
hw/s390x/ccw-device.h | 5 +++-- hw/s390x/ipl.h | 2 +- include/hw/qdev-properties-system.h | 2 +- include/hw/s390x/s390-virtio-ccw.h | 3 ++- hw/core/qdev-properties-system.c | 8 +++++--- hw/s390x/ipl.c | 6 +++--- hw/scsi/scsi-disk.c | 12 +++--------- 7 files changed, 18 insertions(+), 20 deletions(-)
Signature · 1 line
2.45.2