audk/MdeModulePkg/Universal/Disk/PartitionDxe
Ruiyu Ni 68599525d8 MdeModulePkg/Partition: Fix media probe
The call in ProbeMediaStatusEx() to the ReadDisk() function of the
EFI_DISK_IO_PROTOCOL interface implemented in DiskIoDxe/DiskIo.c
crashed in DiskIo2ReadWriteDisk() because of the NULL value of
the destination buffer pointer.

Pass the address of a buffer in the stack instead of a NULL
pointer.

The similar fix was applied to ProbeMediaStatus in commit
df473cc1fc
* MdeModulePkg/PartitionDxe: Fix media probe

Somehow ProbeMediaStatusEx() wasn't changed together.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Tested-by: Jian J Wang <jian.j.wang@intel.com>
2018-01-26 18:56:25 +08:00
..
ComponentName.c Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2011-07-06 03:55:36 +00:00
ElTorito.c MdeModulePkg/PartitionDxe: Add impl of Partition Information Protocol 2017-07-11 08:43:02 +08:00
Gpt.c MdeModulePkg/PartitionDxe: Add impl of Partition Information Protocol 2017-07-11 08:43:02 +08:00
Mbr.c MdeModulePkg/PartitionDxe: Add impl of Partition Information Protocol 2017-07-11 08:43:02 +08:00
Partition.c MdeModulePkg/Partition: Fix media probe 2018-01-26 18:56:25 +08:00
Partition.h MdeModulePkg/PartitionDxe: Add UDF file system support 2017-09-08 20:42:47 +02:00
PartitionDxe.inf MdeModulePkg/PartitionDxe: Add UDF file system support 2017-09-08 20:42:47 +02:00
PartitionDxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PartitionDxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Udf.c MdeModulePkg/PartitionDxe: Merge the discovery of ElTorito into UDF 2017-11-20 08:54:17 +08:00