diff options
author | Mike Christie <[email protected]> | 2014-09-29 13:55:41 -0500 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-09-30 09:29:55 +0200 |
commit | a41a9ad3bbf61fae0b6bfb232153da60d14fdbd9 (patch) | |
tree | 177e4cce56a06f0e4892dc1b702a3d2f630d6a6e /fs/jbd/commit.c | |
parent | 4bfb8ebf4c21f372a8677f9aa99963985e9e6539 (diff) |
be2iscsi: check ip buffer before copying
Dan Carpenter found a issue where be2iscsi would copy the ip
from userspace to the driver buffer before checking the len
of the data being copied:
http://marc.info/?l=linux-scsi&m=140982651504251&w=2
This patch just has us only copy what we the driver buffer
can support.
Cc: <[email protected]>
Tested-by: John Soni Jose <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions