summaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2014-09-03 07:00:39 +0200
committerChristoph Hellwig <hch@lst.de>2014-09-15 23:11:20 +0200
commitcbaa42213461e9a722a391b3800d7c111de7049b (patch)
tree3799037192bc9e23b2e67e2b2b76db60f9e2a7da /include/pcmcia
parentia64: Fix syscall number for memfd_create (diff)
downloadlinux-cbaa42213461e9a722a391b3800d7c111de7049b.tar.xz
linux-cbaa42213461e9a722a391b3800d7c111de7049b.zip
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>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions