From: Dan Carpenter Date: Wed, 27 Jul 2011 09:58:17 +0000 (+0300) Subject: iscsi-target: Fix NULL dereference on allocation failure X-Git-Tag: v3.1-rc1~41^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a28a3fa8c37193b105807193b3695048f0050a4;p=pandora-kernel.git 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 Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed