mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 21:54:27 +02:00
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
|
&ScsiDevicePath
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
Status = ScsiIoDevice->ScsiPassThru->BuildDevicePath (
|
Status = ScsiBusDev->ScsiInterface->BuildDevicePath (
|
||||||
ScsiBusDev->ScsiInterface,
|
ScsiBusDev->ScsiInterface,
|
||||||
TargetId->ScsiId.Scsi,
|
TargetId->ScsiId.Scsi,
|
||||||
Lun,
|
Lun,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user