mirror of https://github.com/acidanthera/audk.git
Fix potential null pointer dereference
Signed-off-by: erictian Reviewed-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11859 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
eaaf8693dc
commit
e7c2a83b3b
|
@ -1046,7 +1046,7 @@ ScsiScanCreateDevice (
|
|||
&ScsiDevicePath
|
||||
);
|
||||
} else {
|
||||
Status = ScsiIoDevice->ScsiPassThru->BuildDevicePath (
|
||||
Status = ScsiBusDev->ScsiInterface->BuildDevicePath (
|
||||
ScsiBusDev->ScsiInterface,
|
||||
TargetId->ScsiId.Scsi,
|
||||
Lun,
|
||||
|
|
Loading…
Reference in New Issue