Files
RASCSI/cpp/devices
Daniel Markstedt 42f48ade04 validate MODE SELECT parameter lists
Validate that the declared MODE SELECT parameter list fits in the transfer buffer and contains a complete command header. Validate the block-descriptor list against the remaining parameter-list length before skipping it.

Reject truncated mode-page headers and page bodies before reading them. Report ILLEGAL REQUEST / PARAMETER LIST LENGTH ERROR for truncated headers, block descriptors, and mode pages, as required by SCSI-2 8.2.8; retain INVALID FIELD IN PARAMETER LIST for complete but invalid fields.

Update the hard-disk and magneto-optical fixtures to send complete Format Device pages with their actual MODE SELECT parameter-list lengths. Add regression coverage for truncated headers, descriptors, page headers, and page bodies.
2026-08-02 23:18:40 +02:00
..
2023-10-15 08:38:15 +02:00
2022-12-05 09:58:23 -08:00
2023-10-15 08:38:15 +02:00
2026-08-02 23:18:40 +02:00
2023-10-15 08:38:15 +02:00
2023-10-15 08:38:15 +02:00
2023-10-15 08:38:15 +02:00
2023-10-15 08:38:15 +02:00