Commit b328e18f authored by Stratos Psomadakis's avatar Stratos Psomadakis Committed by Greg Kroah-Hartman
Browse files

sym53c8xx: Fix NULL pointer dereference in slave_destroy



commit cced5041 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 4e6c82b3).

Signed-off-by: default avatarStratos Psomadakis <psomas@gentoo.org>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b9547c0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment