8c104162d1e5b6ecfad4f560342aa043bce6c30d parent 9fc397fc0878c9540af20cbffc4d546541fe8b23 author Stratos Psomadakis 1322958234 +0200 committer James Bottomley 1326236478 -0600 [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