]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
MdeModulePkg/FvSimpleFileSystem: fix assertions when FV is empty
authorFeng Tian <feng.tian@intel.com>
Tue, 2 Aug 2016 08:07:23 +0000 (16:07 +0800)
committerFeng Tian <feng.tian@intel.com>
Wed, 3 Aug 2016 01:48:18 +0000 (09:48 +0800)
commitebd2be6875823b93e2493ea97edd1693d9aac73a
treef44a0268512721fbcf979ce8e1c6fc3a3627c73d
parent846ea5f537c8f8313abb2f8f29794d13ac4becec
MdeModulePkg/FvSimpleFileSystem: fix assertions when FV is empty

The original code will assert when dealing with those empty FVs.
The fix is used to solve this bug.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemEntryPoint.c