mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix off-by-one error in sati_inquiry_block_device_translate_data(). Bug would
result in INQUIRY VPD 0x81 to SATA devices to return only 63 bytes of data instead of 64 during SCSI/ATA translation. Sponsored by: Intel Approved by: scottl MFC after: 1 week
This commit is contained in:
parent
a48b6a8585
commit
e0e3e85dc0
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ void sati_inquiry_block_device_translate_data(
|
|||
);
|
||||
|
||||
//bytes 8-63 are reserved
|
||||
for(offset = 8; offset < 63; offset++)
|
||||
for(offset = 8; offset < 64; offset++)
|
||||
{
|
||||
sati_set_data_byte(sequence, scsi_io, offset, 0x00);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue