commit | 4a28a3fa8c37193b105807193b3695048f0050a4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Wed Jul 27 12:58:17 2011 +0300 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Jul 27 20:28:04 2011 +0000 |
tree | 60c42c12dd1f09a75af0f0a35f98acef4ac7ae0f | |
parent | 277c5f27a2c86a9a733c0ec0f6a9b1032dfa3e15 [diff] |
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>