>>>>> "Akinobu" == Akinobu Mita <[email protected]> writes:

Akinobu> If the module parameter virtual_gb is greater than 0, the READ
Akinobu> command may request the blocks which exceed actual ramdisk
Akinobu> storage (fake_storep).  prot_verify_read() should treat those
Akinobu> blocks as wrap around the end of fake_storep.  But it actually
Akinobu> causes fake_storep and dif_storep buffer overruns.

Akinobu> This fixes these buffer overruns.  In order to simplify the
Akinobu> fix, this also introduces fake_store() and dif_store() which
Akinobu> return corresponding wrap around addresses.

Acked-by: Martin K. Petersen <[email protected]>

-- 
Martin K. Petersen      Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to