Re: [PATCH] scsi: sg: allocate with __GFP_ZERO in sg_build_indirect()

From: Martin K. Petersen
Date: Fri May 18 2018 - 09:35:30 EST



Alexander,

> This shall help avoid copying uninitialized memory to the userspace
> when calling ioctl(fd, SG_IO) with an empty command.

Applied to 4.17/scsi-fixes. Thank you!

--
Martin K. Petersen Oracle Linux Engineering