diff options
author | 2011-07-27 12:58:17 +0300 | |
---|---|---|
committer | 2011-07-27 20:28:04 +0000 | |
commit | 4a28a3fa8c37193b105807193b3695048f0050a4 (patch) | |
tree | 60c42c12dd1f09a75af0f0a35f98acef4ac7ae0f /tools/perf/scripts/python/syscall-counts.py | |
parent | target: Convert to DIV_ROUND_UP_SECTOR_T usage for sectors / dev_max_sectors (diff) | |
download | linux-dev-4a28a3fa8c37193b105807193b3695048f0050a4.tar.xz linux-dev-4a28a3fa8c37193b105807193b3695048f0050a4.zip |
iscsi-target: Fix NULL dereference on allocation failure
This patch fixes a bug in iscsi_target_init_negotiation() where
the "goto out" path dereferences "login" which is NULL upon a
memory allocation failure.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions