summaryrefslogtreecommitdiff
path: root/drivers/scsi/sr_ioctl.c
diff options
context:
space:
mode:
authorStratos Psomadakis <psomas@gentoo.org>2011-12-04 02:23:54 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-25 16:13:48 -0800
commitb328e18f8ba3c8a32ba45952ae5bf8dd39d73120 (patch)
tree7e0ae3ee055e667360cdce412842144c05ed983e /drivers/scsi/sr_ioctl.c
parentb9547c0e2ff53f68325d7be563d41308e04ab1ac (diff)
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 <psomas@gentoo.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/sr_ioctl.c')
0 files changed, 0 insertions, 0 deletions