1
linux/drivers/scsi/qla2xxx
Anirban Chakraborty c7922a911c [SCSI] qla2xxx: Fix NULL ptr deref bug in fail path during queue create
Current code attempts to clean up resources when queue create fails and there it
invokes queue free call with a (NULL) pointer to the queue which could not be
allocated in the first place. Fix it by returning directly without invoking the
queue free call as no resources has been allocated at that point of time.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-10-02 14:13:04 -05:00
..
Kconfig
Makefile
qla_attr.c [SCSI] qla2xxx: Correct various NPIV issues. 2009-09-12 09:35:22 -05:00
qla_dbg.c qla2xxx: Correct (again) overflow during dump-processing on large-memory ISP23xx parts. 2009-06-21 10:52:44 -05:00
qla_dbg.h
qla_def.h [SCSI] qla2xxx: Correctly set FCF_TAPE_PRESENT flag based on scsi-device. 2009-09-12 09:35:20 -05:00
qla_devtbl.h
qla_dfs.c [SCSI] qla2xxx: Initialize FCE debugfs codes with the proper vha structure. 2009-04-03 09:22:45 -05:00
qla_fw.h [SCSI] qla2xxx: Pad IOCB structure for size requirements. 2009-08-22 17:52:19 -05:00
qla_gbl.h [SCSI] qla2xxx: Add asynchronous-login support. 2009-09-05 09:41:57 -05:00
qla_gs.c [SCSI] qla2xxx: ISP21xx/22xx do not support FDMI registrations. 2009-08-22 17:52:19 -05:00
qla_init.c [SCSI] qla2xxx: Properly delete rports attached to a vport. 2009-09-12 09:35:23 -05:00
qla_inline.h
qla_iocb.c [SCSI] qla2xxx: Add asynchronous-login support. 2009-09-05 09:41:57 -05:00
qla_isr.c [SCSI] qla2xxx: Correct various NPIV issues. 2009-09-12 09:35:22 -05:00
qla_mbx.c [SCSI] qla2xxx: Fix to ensure driver works in sinlge queue mode if multiqueue fails 2009-08-22 17:52:20 -05:00
qla_mid.c [SCSI] qla2xxx: Fix NULL ptr deref bug in fail path during queue create 2009-10-02 14:13:04 -05:00
qla_os.c [SCSI] qla2xxx: Properly delete rports attached to a vport. 2009-09-12 09:35:23 -05:00
qla_settings.h
qla_sup.c [SCSI] qla2xxx: fix printk format warnings 2009-06-15 10:09:31 -05:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.03.01-k6. 2009-09-12 09:35:23 -05:00