audk/MdeModulePkg
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
..
Application MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
Bus MdeModulePkg/NvmExpressDxe: Fix data buffer not mapped for Write cmd 2018-01-24 13:16:27 +08:00
Core MdeModulePkg/Core: fix a logic hole in page free 2018-01-19 14:16:11 +08:00
Include MdeModulePkg: Did some code enhancement for DxeIpIoLib. 2018-01-16 11:10:05 +08:00
Library MdeModulePkg/UefiBootManagerLib: Skip the DNS device path node check. 2018-01-25 13:36:56 +08:00
Logo MdeModulePkg/LogoDxe: Return error if HII Package not present 2017-05-22 16:30:11 -07:00
Universal MdeModulePkg/Partition: Fix media probe 2018-01-26 18:56:25 +08:00
MdeModulePkg.dec MdeModulePkg: Update package version to 0.98 2018-01-22 19:09:36 +08:00
MdeModulePkg.dsc MdeModulePkg: Update package version to 0.98 2018-01-22 19:09:36 +08:00
MdeModulePkg.uni MdeModulePkg/MdeModulePkg.uni: clarify Heap Guard usage 2018-01-10 09:52:39 +08:00
MdeModulePkgExtra.uni