linux-stable/drivers/scsi/osd
Boaz Harrosh 97218a1499 [SCSI] libosd: Fix NULL dereference BUG when target is not OSD conformant
Very old OSC's Target had a BUG in the Get/Set attributes where
it was looking in the wrong places for attribute lists length.
If used with the open-osd initiator, the initiator would dereference
a NULL pointer when retrieving system_information attributes.

Checks are added that retrieval of each attribute is successful
before accessing its value.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-12 12:58:13 -05:00
..
Kbuild [SCSI] libosd: SCSI/OSD Sense decoding support 2009-03-12 12:58:09 -05:00
Kconfig [SCSI] osd: Kconfig file for in-tree builds 2009-03-12 12:58:09 -05:00
Makefile [SCSI] libosd: OSDv1 preliminary implementation 2009-03-12 12:58:06 -05:00
osd_debug.h [SCSI] libosd: OSDv1 preliminary implementation 2009-03-12 12:58:06 -05:00
osd_initiator.c [SCSI] libosd: Fix NULL dereference BUG when target is not OSD conformant 2009-03-12 12:58:13 -05:00
osd_uld.c [SCSI] libosd: OSDv2 auto detection 2009-03-12 12:58:08 -05:00