aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorpeter chang <[email protected]>2017-02-15 22:11:54 +0000
committerMartin K. Petersen <[email protected]>2017-03-16 23:46:33 +0000
commitbf33f87dd04c371ea33feb821b60d63d754e3124 (patch)
tree4207379ccff4dd625ff04a3cbc44fddfe819fac9 /net/unix/garbage.c
parentscsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR (diff)
downloadkernel-bf33f87dd04c371ea33feb821b60d63d754e3124.tar.gz
kernel-bf33f87dd04c371ea33feb821b60d63d754e3124.zip
scsi: sg: check length passed to SG_NEXT_CMD_LEN
The user can control the size of the next command passed along, but the value passed to the ioctl isn't checked against the usable max command size. Cc: <[email protected]> Signed-off-by: Peter Chang <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions