> "MKP" == Martin K Petersen writes:
MKP> Applied to 4.13/scsi-fixes. Thanks!
My thanks as well to everyone who helped in getting this fixed.
- J<
Johannes,
> Don't make any assumptions on the sg_io_hdr_t::dxfer_direction or the
> sg_io_hdr_t::dxferp in order to determine if it is a valid
> request. The only way we can check for bad requests is by checking if
> the length exceeds 256M.
Applied to 4.13/scsi-fixes. Thanks!
--
Martin K. Pet
On 07/27/2017 09:11 AM, Johannes Thumshirn wrote:
> Don't make any assumptions on the sg_io_hdr_t::dxfer_direction or the
> sg_io_hdr_t::dxferp in order to determine if it is a valid request. The
> only way we can check for bad requests is by checking if the length exceeds
> 256M.
>
> Signed-off-b
Don't make any assumptions on the sg_io_hdr_t::dxfer_direction or the
sg_io_hdr_t::dxferp in order to determine if it is a valid request. The
only way we can check for bad requests is by checking if the length exceeds
256M.
Signed-off-by: Johannes Thumshirn
Fixes: 28676d869bbb (scsi: sg: check fo
4 matches
Mail list logo