]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/BlockMmioToBlockIoDxe: Fix allocation size error
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 28 Aug 2012 21:21:44 +0000 (21:21 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 28 Aug 2012 21:21:44 +0000 (21:21 +0000)
commit8d531995e2c0b72350eb46bcd33bbcb03bc27a68
treec130e1a20cf3b562b7f3f6bc29b5dd1311a3dc30
parent82045b2f7ac0ec0270fd58fe30f101dd628a59ae
OvmfPkg/BlockMmioToBlockIoDxe: Fix allocation size error

When allocating the BLOCK_MMIO_TO_BLOCK_IO_DEVICE structure, we were
not allocating a large enough amount. We were allocating the size of
the pointer, rather than the size of the structure.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13688 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.c