Skip to content
Snippets Groups Projects
Commit 4a28a3fa authored by Dan Carpenter's avatar Dan Carpenter Committed by Nicholas Bellinger
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 277c5f27
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment