diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2014-09-03 07:00:39 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-09-19 14:22:59 +0200 |
commit | db9bfd64b14a3a8f1868d2164518fdeab1b26ad1 (patch) | |
tree | 3799037192bc9e23b2e67e2b2b76db60f9e2a7da /include/scsi/scsi_tcq.h | |
parent | ia64: Fix syscall number for memfd_create (diff) | |
download | linux-db9bfd64b14a3a8f1868d2164518fdeab1b26ad1.tar.xz linux-db9bfd64b14a3a8f1868d2164518fdeab1b26ad1.zip |
[SCSI] libiscsi: fix potential buffer overrun in __iscsi_conn_send_pdu
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>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi_tcq.h')
0 files changed, 0 insertions, 0 deletions