diff options
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/UefiScsiLib/UefiScsiLib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c index 8fcc3d1..fa9bfd2 100644 --- a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c +++ b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c @@ -692,6 +692,12 @@ ScsiReadCapacity16Command ( EFI_STATUS Status;
UINT8 Cdb[16];
+ ASSERT (SenseDataLength != NULL);
+ ASSERT (HostAdapterStatus != NULL);
+ ASSERT (TargetStatus != NULL);
+ ASSERT (DataLength != NULL);
+ ASSERT (ScsiIo != NULL);
+
ZeroMem (&CommandPacket, sizeof (EFI_SCSI_IO_SCSI_REQUEST_PACKET));
ZeroMem (Cdb, 16);
|