Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SCSI] libosd: Fix NULL dereference BUG when target is not OSD confor…
…mant 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 <[email protected]> Signed-off-by: James Bottomley <[email protected]>
- Loading branch information