diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-09-17 11:45:17 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-09-17 13:40:19 -0700 |
commit | b53b0d99d6fbf7d44330395349a895521cfdbc96 (patch) | |
tree | 46c4a42cf72b8e2c0d5a1bb615fcd9c273e31726 /drivers/sfi | |
parent | 1f0b030c45c781f9fe568e5e2a813d6c8567a051 (diff) | |
download | linux-rt-b53b0d99d6fbf7d44330395349a895521cfdbc96.tar.gz |
iscsi-target: Fix memory corruption in iscsit_logout_post_handler_diffcid
This patch fixes a bug in iscsit_logout_post_handler_diffcid() where
a pointer used as storage for list_for_each_entry() was incorrectly
being used to determine if no matching entry had been found.
This patch changes iscsit_logout_post_handler_diffcid() to key off
bool conn_found to determine if the function needs to exit early.
Reported-by: Joern Engel <joern@logfs.org>
Cc: <stable@vger.kernel.org> # v3.1+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions