aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorAlexander Potapenko <[email protected]>2018-05-18 14:23:18 +0000
committerMartin K. Petersen <[email protected]>2018-05-18 14:26:01 +0000
commita45b599ad808c3c982fdcdc12b0b8611c2f92824 (patch)
treed040e498b435b3a9b17c7c2569bf1d7993f8dd7f /lib/bitmap.c
parentscsi: core: clean up generated file scsi_devinfo_tbl.c (diff)
downloadkernel-a45b599ad808c3c982fdcdc12b0b8611c2f92824.tar.gz
kernel-a45b599ad808c3c982fdcdc12b0b8611c2f92824.zip
scsi: sg: allocate with __GFP_ZERO in sg_build_indirect()
This shall help avoid copying uninitialized memory to the userspace when calling ioctl(fd, SG_IO) with an empty command. Reported-by: [email protected] Cc: [email protected] Signed-off-by: Alexander Potapenko <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions