Paolo, List

Please find a small patch to the scsi emulation.
This patch improves the checkign that the requested lbas are all available.
We check both that lba+len is not going past the end of the device
but also if    lba+len < lba

This second condition could occur for deviously crafted scsi packets where
lba is set to 0xffffffffffffffff  and len is set to 2
in which case lba+len would wrap to 1



Reply via email to