summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2014-09-03 00:00:39 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-05 14:52:18 -0700
commit86fdf9ed355b37df7ca19bfa47f399494935a00d (patch)
treed157080666116f81fa5f2d588ff5a1d95014616d /drivers/net
parent621f496ffae1da0095a4f7b0338821bb25225323 (diff)
downloadlwn-86fdf9ed355b37df7ca19bfa47f399494935a00d.tar.gz
lwn-86fdf9ed355b37df7ca19bfa47f399494935a00d.zip
SCSI: libiscsi: fix potential buffer overrun in __iscsi_conn_send_pdu
commit db9bfd64b14a3a8f1868d2164518fdeab1b26ad1 upstream. This patches fixes a potential buffer overrun in __iscsi_conn_send_pdu. This function is used by iscsi drivers and userspace to send iscsi PDUs/ commands. For login commands, we have a set buffer size. For all other commands we do not support data buffers. This was reported by Dan Carpenter here: http://www.spinics.net/lists/linux-scsi/msg66838.html Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions