commit | cced5041ed5a2d1352186510944b0ddfbdbe4c0b | [log] [tgz] |
---|---|---|
author | Stratos Psomadakis <psomas@gentoo.org> | Sun Dec 04 02:23:54 2011 +0200 |
committer | James Bottomley <JBottomley@Parallels.com> | Tue Jan 10 17:01:18 2012 -0600 |
tree | 8c104162d1e5b6ecfad4f560342aa043bce6c30d | |
parent | 9fc397fc0878c9540af20cbffc4d546541fe8b23 [diff] |
[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 <psomas@gentoo.org> Cc: stable@vger.kernel.org Signed-off-by: James Bottomley <JBottomley@Parallels.com>