summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2014-09-02 21:49:54 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2014-09-17 20:44:01 (GMT)
commit8ae757d09c45102b347a1bc2867f54ffc1ab8fda (patch)
tree5f161b9fc869430e10864c66f3491dce6b7ecf15 /net/sched
parentb53b0d99d6fbf7d44330395349a895521cfdbc96 (diff)
downloadlinux-8ae757d09c45102b347a1bc2867f54ffc1ab8fda.tar.xz
iscsi-target: avoid NULL pointer in iscsi_copy_param_list failure
In iscsi_copy_param_list() a failed iscsi_param_list memory allocation currently invokes iscsi_release_param_list() to cleanup, and will promptly trigger a NULL pointer dereference. Instead, go ahead and return for the first iscsi_copy_param_list() failure case. Found by coverity. Signed-off-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 'net/sched')
0 files changed, 0 insertions, 0 deletions