summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown2012-05-16 11:50:56 +0200
committerMichael Brown2012-05-16 11:55:58 +0200
commit73b21174b228add00e49de2a01b94a2fbaa8b130 (patch)
treee692a9f12c04e5d94039e622f5d3afcdf0b41ae3 /src/interface
parent[test] Add self-tests for OCSP (diff)
downloadipxe-73b21174b228add00e49de2a01b94a2fbaa8b130.tar.gz
ipxe-73b21174b228add00e49de2a01b94a2fbaa8b130.tar.xz
ipxe-73b21174b228add00e49de2a01b94a2fbaa8b130.zip
[iscsi] Report SCSI response only when applicable
iSCSI generally includes a full SCSI response only when an error occurs. iscsi_scsi_done() currently passes the NULL response through to scsi_response(), which ends up causing scsicmd_response() to dereference a NULL pointer. Fix by calling scsi_response() only if we have a non-NULL response. Reported-by: Brendon Walsh <brendonwalsh@niamu.com> Tested-by: Brendon Walsh <brendonwalsh@niamu.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions