From: Stratos Psomadakis Date: Sun, 4 Dec 2011 00:23:54 +0000 (+0200) Subject: [SCSI] sym53c8xx: Fix NULL pointer dereference in slave_destroy X-Git-Tag: v3.3-rc1~15^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cced5041ed5a2d1352186510944b0ddfbdbe4c0b;p=pandora-kernel.git [SCSI] sym53c8xx: Fix NULL pointer dereference in slave_destroy sym53c8xx_slave_destroy unconditionally assumes that sym53c8xx_slave_alloc has succesesfully allocated a sym_lcb. This can lead to a NULL pointer dereference (exposed by commit 4e6c82b). Signed-off-by: Stratos Psomadakis Cc: stable@vger.kernel.org Signed-off-by: James Bottomley --- Reading git-diff-tree failed