From: Stratos Psomadakis Date: Sun, 4 Dec 2011 00:23:54 +0000 (+0200) Subject: sym53c8xx: Fix NULL pointer dereference in slave_destroy X-Git-Tag: v3.2.2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b328e18f8ba3c8a32ba45952ae5bf8dd39d73120;p=pandora-kernel.git sym53c8xx: Fix NULL pointer dereference in slave_destroy commit cced5041ed5a2d1352186510944b0ddfbdbe4c0b upstream. 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 Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed