summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-02-08 17:02:22 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 18:58:13 +0100
commit97218a1499391b174ea95e05b7a40fbb73e79813 (patch)
tree60b8cf81afce2f45300990c50a866205153dbdf7 /include/scsi
parent[SCSI] sg: avoid blk_put_request/blk_rq_unmap_user in interrupt (diff)
downloadlinux-97218a1499391b174ea95e05b7a40fbb73e79813.tar.xz
linux-97218a1499391b174ea95e05b7a40fbb73e79813.zip
[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>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions