Re: [PATCH] scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/22/2014 01:30 AM, Jan Kara wrote:
> When sg_scsi_ioctl() fails to prepare request to submit in
> blk_rq_map_kern() we jump to a label where we just end up copying
> (luckily zeroed-out) kernel buffer to userspace instead of reporting
> error. Fix the problem by jumping to the right label.

Thanks Jan, applied.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]